public Block(BlockType type, string textureType, Box2D textureCoordinates, float size, float positionX, float positionY) { this.type = type; this.textureType = textureType; this.textureCoordinates = textureCoordinates; this.idleCoordinates = this.textureCoordinates; this.Bounds = Box2DFactory.CreateSquare(new Vector2(positionX, positionY), size); }
public Obstacle(Vector2 position, float squareSize) { this.Bounds = Box2DFactory.CreateSquare(position, squareSize); }
public Player(Vector2 position, float squareSize) { this.Bounds = Box2DFactory.CreateSquare(position, squareSize - (squareSize / 1.9f)); }
public Portal(Vector2 position, float squareSize) { isVisible = false; this.Bounds = Box2DFactory.CreateSquare(position, squareSize); }
public BombBigRadius(Vector2 position, float squareSize) { this.Bounds = Box2DFactory.CreateSquare(position, squareSize / 1.5f); this.timeDeltaToExplode = 2; }
public BombItem(Vector2 position, float squareSize) { this.Bounds = Box2DFactory.CreateSquare(position, squareSize); }
public InvisibleEnemyBarrier(Vector2 position, float squareSize) { this.Bounds = Box2DFactory.CreateSquare(position, squareSize); }