Esempio n. 1
0
 public DefinedEntity(EntityColor color, char representation, bool isMovable, bool isEndPoint)
 {
     this.color          = color;
     this.representation = representation;
     this.isMovable      = isMovable;
     this.isEndPoint     = isEndPoint;
 }
Esempio n. 2
0
 public Entity(EntityPosition position, EntityColor color, char representation, bool isMovable, bool isEndPoint)
 {
     this.position       = position;
     this.color          = color;
     this.representation = representation;
     this.isMovable      = isMovable;
     this.isEndPoint     = isEndPoint;
 }
Esempio n. 3
0
 public Entity(int x, int y, EntityColor color, char representation, bool isMovable, bool isEndPoint)
     : this(new EntityPosition(x, y), color, representation, isMovable, isEndPoint)
 {
 }