Ejemplo n.º 1
0
 public SelectionCube(Vector2 position)
 {
     this.color    = Color4.Green;
     this.position = position;
     vertVbo       = BlockData.GetVertexBufferID();
     indVbo        = BlockData.GetIndexBufferID();
 }
Ejemplo n.º 2
0
 public PuzzleBox(float xPos, float yPos)
     : base(xPos, yPos)
 {
     vertVbo  = BlockData.GetVertexBufferID();
     indVbo   = BlockData.GetIndexBufferID();
     indCount = BlockData.GetIndexCount();
     tex      = Resources.Textures["block.png"];
 }
Ejemplo n.º 3
0
 public Cannon(float xPos, float yPos)
     : base(xPos, yPos)
 {
     BallSpeed = 5000000;
     Stupidity = 0;
     vertVbo   = BlockData.GetVertexBufferID();
     indVbo    = BlockData.GetIndexBufferID();
     indCount  = BlockData.GetIndexCount();
     tex       = Resources.Textures["block.png"];
 }
 public LaserShooter(float xPos, float yPos)
     : base(xPos, yPos)
 {
     ShotsPerSecond = 1;
     BeamWidth      = 5;
     Stupidity      = 0;
     vertVbo        = BlockData.GetVertexBufferID();
     indVbo         = BlockData.GetIndexBufferID();
     indCount       = BlockData.GetIndexCount();
     tex            = Resources.Textures["block.png"];
 }