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)
 {
 }