From bcbe4faac2dccc4701df9308fe261897c21cc651 Mon Sep 17 00:00:00 2001 From: "Crom (Thibaut CHARLES)" Date: Wed, 4 Mar 2015 17:41:51 +0100 Subject: [PATCH] =?UTF-8?q?Fix:=20visibilit=C3=A9=20attributs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Assets/src/Player.cs | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/Assets/src/Player.cs b/Assets/src/Player.cs index cea04b2..bf4d28e 100644 --- a/Assets/src/Player.cs +++ b/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; }