예제 #1
0
 public Swordman()
 {
     Name = "Swordman";
     State = State.UNDER_CONSTRUCTION;
     Health = Health.HEALTHY;
     builder = new SimpleBuilder();
 }
예제 #2
0
 public Farm()
 {
     UnitsCapabilities = new ObservableCollection<AbstractBuildingCapability>();
     UnitsCapabilities.Add(new BuildPeasantCapability());
     Name = "FARM";
     State = State.UNDER_CONSTRUCTION;
     builder = new SimpleBuilder();
 }
예제 #3
0
 public Swordman()
 {
     Name = "Swordman";
     State = State.UNDER_CONSTRUCTION;
     builder = new SimpleBuilder();
     AttackPower = 7;
     Range = 2;
     Life = 40;
 }
예제 #4
0
 public Peasant()
 {
     BuildingsCapabilities = new ObservableCollection<AbstractBuildingCapability>();
     BuildingsCapabilities.Add(new BuildFarmCapability());
     BuildingsCapabilities.Add(new BuildBarrackCapability());
     Name = "Peasant";
     State = State.UNDER_CONSTRUCTION;
     builder = new SimpleBuilder();
 }
예제 #5
0
 public Swordman()
 {
     Name = "Swordman";
     State = State.UNDER_CONSTRUCTION;
     builder = new SimpleBuilder();
 }