Beispiel #1
0
 public EntityGroup(int id, EntityData loot)
 {
     Id        = id;
     this.loot = loot;
 }
Beispiel #2
0
 public static GameEntity Create(EntityData data, Vector2 position, Direction direction = Direction.Down)
 {
     return(Create(new EntityArguments(data, position, direction)));
 }
Beispiel #3
0
 public EntityArguments(EntityData data, Vector2 position, Direction direction = Direction.Down)
 {
     Data      = data;
     Position  = position;
     Direction = direction;
 }
Beispiel #4
0
 public static GameEntity Create(EntityData data, int tileX, int tileY, Direction direction = Direction.Down)
 {
     return(Create(new EntityArguments(data, tileX, tileY, direction)));
 }