예제 #1
0
 /// <summary>
 /// Add a physicsblock to the custom block list
 /// </summary>
 /// <param name="b"></param>
 public static void Add(PhysicsBlock b)
 {
     Block.Add(b);
 }
예제 #2
0
 /// <summary>
 /// Add a block to the physics tick
 /// </summary>
 /// <param name="l"></param>
 public void Add(Level l, PhysicsBlock b)
 {
     l.BlockChange((ushort)b.X, (ushort)b.Z, (ushort)b.Y, b.VisibleBlock);
     l.pblocks.Add(b);
 }
예제 #3
0
 /// <summary>
 /// Add a block to the physics tick
 /// </summary>
 /// <param name="l"></param>
 public void Add(Level l, PhysicsBlock b)
 {
     l.BlockChange((ushort)b.X, (ushort)b.Z, (ushort)b.Y, b.VisibleBlock);
     l.pblocks.Add(b);
 }
 public void AddBlock(PhysicsBlock block)
 {
     blocks.Add(block);
 }
예제 #5
0
 /// <summary>
 /// Add a physicsblock to the custom block list
 /// </summary>
 /// <param name="b"></param>
 public static void Add(PhysicsBlock b)
 {
     Block.Add(b);
 }