예제 #1
0
 public DefinedEntity(EntityColor color, char representation, bool isMovable, bool isEndPoint)
 {
     this.color          = color;
     this.representation = representation;
     this.isMovable      = isMovable;
     this.isEndPoint     = isEndPoint;
 }
예제 #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;
 }
예제 #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)
 {
 }