コード例 #1
0
 public NonPlayer(String name, String sex, int gold, int level, Archetype archetype, MoveSet moveSet, String type, BaseStat baseStat, BattleStatus battleStatus, Item item, String id)
 {
     CharacterName         = name;
     CharacterSex          = sex;
     CharacterGold         = gold;
     CharacterLevel        = level;
     CharacterArchetype    = archetype;
     CharacterMoveSet      = moveSet;
     CharacterBaseStat     = baseStat;
     CharacterBattleStatus = battleStatus;
     CharacterItem         = item;
     SetCharacterType(type);
     CharacterID = id;
 }
コード例 #2
0
 private Player()
 {
     CharacterName         = "Player1";
     CharacterSex          = "MALEFE";
     CharacterGold         = 500;
     CharacterLevel        = 1;
     CharacterCurrentXP    = 0;
     CharacterLimitXP      = 1;
     CharacterMoveSet      = new MoveSet();
     CharacterBaseStat     = new BaseStat();
     CharacterBattleStatus = new BattleStatus();
     PlayerBag             = new Bag();
     CharacterItem         = null;
     CharacterType         = "PLAYER";
     CharacterID           = "PLAYER_1";
 }