Advertisement
Guest User

Block Class

a guest
Dec 11th, 2013
456
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.32 KB | None | 0 0
  1. using UnityEngine;
  2. using System.Collections;
  3.  
  4. public enum BlockFace  
  5. {  
  6.     All,
  7.     Top, //Y+
  8.     Bottom, //Y-
  9.     Left, //X-
  10.     Right, //X
  11.     Far, //Z+
  12.     Near //Z-    
  13. }
  14.  
  15.  
  16.  
  17. public class Block
  18. {
  19.     public bool empty = false;
  20.  
  21.     public Block ReturnBlock {get{return this;}}
  22.  
  23.     public Block(bool isEmpty)
  24.     {empty = isEmpty;}
  25. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement