Fix: visibilité attributs

This commit is contained in:
Crom (Thibaut CHARLES) 2015-03-04 17:41:51 +01:00
parent 627c6cb077
commit bcbe4faac2

View File

@ -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;
}