Esempio n. 1
0
 /// <summary>
 /// Constructor that include a new default position
 /// </summary>
 /// <param name="nx"></param>
 /// <param name="ny"></param>
 Entity(int nx, int ny)
 {
     Status = life.alive;
     position = new POS();
     position.x = nx;
     position.y = ny;
     HP = 10;
     STM = 10;
     HPMax = 10;
     STMMax = 10;
 }
Esempio n. 2
0
 /// <summary>
 /// Basic Constructor
 /// </summary>
 Entity()
 {
     Status = life.alive;
     position = new POS();
     position.x = 0;
     position.y = 0;
     HP = 10;
     STM = 10;
     HPMax = 10;
     STMMax = 10;
 }
Esempio n. 3
0
 /// <summary>
 /// Basic Constructor
 /// </summary>
 public Entity(string nn)
 {
     name = nn;
     Status = life.alive;
     position = new POS();
     position.x = 0;
     position.y = 0;
     HP = 10;
     STM = 10;
     HPMax = 10;
     STMMax = 10;
 }
Esempio n. 4
0
 /// <summary>
 /// Constructor that include a new default position
 /// </summary>
 /// <param name="nx"></param>
 /// <param name="ny"></param>
 public Entity(int nx, int ny, string nn)
     : this(nn)
 {
     Status = life.alive;
     position = new POS();
     position.x = nx;
     position.y = ny;
     HP = 10;
     STM = 10;
     HPMax = 10;
     STMMax = 10;
 }