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