public DefinedEntity(EntityColor color, char representation, bool isMovable, bool isEndPoint) { this.color = color; this.representation = representation; this.isMovable = isMovable; this.isEndPoint = isEndPoint; }
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; }
public Entity(int x, int y, EntityColor color, char representation, bool isMovable, bool isEndPoint) : this(new EntityPosition(x, y), color, representation, isMovable, isEndPoint) { }