Beispiel #1
0
 public Tour(string name, int code, string places, TypeOfMovement transport, TimeSpan duration)
 {
     Name      = name;
     Code      = code;
     Places    = places;
     Duration  = duration;
     Transport = transport;
 }
Beispiel #2
0
 /// <summary>
 /// Model Generic Zombie
 /// </summary>
 /// <param name="life">life of this zombie</param>
 /// <param name="speed">speed of this zombie</param>
 /// <param name="damage">damage that the zombie does in contact with the player</param>
 /// <param name="typeOfMovement">type of movement of this zombie </param>
 public ZombieModel(int life, int speed, int damage, TypeOfMovement typeOfMovement)
 {
     this.Guid           = Guid.NewGuid();
     this.Life           = life;
     this.Speed          = speed;
     this.Damage         = damage;
     this.TypeOfMovement = typeOfMovement;
 }