Beispiel #1
0
 public AreaOfEffect(World world)
 {
     affectedBaseIndices = new Dictionary<Vector2, double>();
     _affectedTileImage = ContentHelper.Content.Load<Texture2D>("SelectedTile");
     _world = world;
     DirectionFacing = Direction.West;
 }
Beispiel #2
0
 public Door(Vector2 worldIndex, bool isOpen, World world)
 {
     WorldIndex = worldIndex;
     _openImage = ContentHelper.Content.Load<Texture2D>("OpenDoor");
     _closedImage = ContentHelper.Content.Load<Texture2D>("ClosedDoor");
     IsOpen = isOpen;
     _world = world;
 }