예제 #1
0
 public Monster(Position initialPosition)
 {
     this.health         = DEFAULT_MONSTER_HEALTH;
     this.role           = Role.MONSTER;
     this.actualPosition = initialPosition;
     this.technique      = new MonsterAttackTechnique();
 }
예제 #2
0
 public Survivor(Position initialPosition)
 {
     this.health         = DEFAULT_SURVIVOR_HEALTH;
     this.technique      = new SurvivorAttackTechnique();
     this.role           = Role.SURVIVOR;
     this.actualPosition = initialPosition;
 }