public KnightWarrior(CreateGameObjectDTO dto) : base(dto) { this.Type = GameObjectType.KnightWarrior; this.HPMax = 250; this.HPMin = 0; this.HPDef = 250; this.HP = 250; this.EnergyMax = 250; this.EnergyMin = 0; this.EnergyDef = 250; this.Energy = 250; this.IsMoveable = true; this.MoveCost = new Dictionary <TerrainType, int>() { { TerrainType.Plain, 35 }, { TerrainType.Stone, 55 }, { TerrainType.Snow, 60 }, }; }
public GameObject(CreateGameObjectDTO dto) { this.Id = new Guid(dto.Id); }
public UnitBase(CreateGameObjectDTO dto) : base(dto) { }