public Powerup(Vector2 pos) { Id = powerUpIdCounter++; Position = pos; BoundingBox = new CustomBoundingBox(); BoundingBox.SetFullRectangle(Position, new Rectangle(0, 0, 16, 16), Velocity); }
public StaticTile(Vector2 position, string tileKey) { TileKey = tileKey; Position = position; BoundingBox = new CustomBoundingBox(); BoundingBox.SetFullRectangle(Position, new Rectangle(0, 0, 32, 32), Vector2.Zero); }