Example #1
0
 /// <summary>
 /// Allows a collision event to occur.
 /// </summary>
 public virtual void FoundCollision(Engine engine, Cube collision, Vector3 direction)
 {
 }
Example #2
0
 public void AddCube(Cube Cube)
 {
     CubeAddBuffer.Add(Cube);
 }
Example #3
0
 public void RemoveCube(Cube Cube)
 {
     CubeRemoveBuffer.Add(Cube);
 }
Example #4
0
 /// <summary>
 /// Runs when another cube steps on this cube.
 /// </summary>
 public virtual void Overlap(Engine engine, Cube otherCube)
 {
 }
Example #5
0
 public void RemoveCube(Cube Cube)
 {
     CubeRemoveBuffer.Add(Cube);
 }
Example #6
0
 public void AddCube(Cube Cube)
 {
     CubeAddBuffer.Add(Cube);
 }
Example #7
0
 public override void FoundCollision(Engine engine, Cube collision, Vector3 direction)
 {
     collision.Collide(engine, this, direction);
 }
Example #8
0
 /// <summary>
 /// Runs when another cube steps on this cube.
 /// </summary>
 public virtual void Overlap(Engine engine, Cube otherCube)
 {
 }