Fix: visibilité attributs

master
Crom (Thibaut CHARLES) 8 years ago
parent 627c6cb077
commit bcbe4faac2
  1. 22
      Assets/src/Player.cs

@ -3,7 +3,7 @@ using System.Collections;
public class Player {
Player(int _charID, int _roleID){
public Player(int _charID, int _roleID){
charID = _charID;
roleID = _roleID;
@ -21,21 +21,19 @@ public class Player {
void DebugInfo() {
public void DebugInfo() {
Debug.Log(charname+" is a "+rolename+" with "+hp.ToString()+" hit points");
}
int charID;
int roleID;
public int charID;
public int roleID;
string charname;
int spellID;
int hp;
string rolename;
int ultiID;
string align;
public string charname;
public int spellID;
public int hp;
public string rolename;
public int ultiID;
public string align;
}

Loading…
Cancel
Save