示例#1
0
 public TCODBSP(int x, int y, int w, int h)
 {
     m_data = (TCODBSPData *)TCOD_bsp_new_with_size(x, y, w, h);
     m_delegate = null;
     m_privateDelegate = new TCODBSPTraversalDelegatePrivate(this.TCODBSPTraversalDel);
 }
示例#2
0
 public bool TraverseInvertedOrder(TCODBSPTraversalDelegate listner)
 {
     m_delegate = listner;
     return TCOD_bsp_traverse_inverted_level_order(new IntPtr(m_data), m_privateDelegate, IntPtr.Zero);
 }
示例#3
0
 public TCODBSP()
 {
     m_data = (TCODBSPData *)TCOD_bsp_new();
     m_delegate = null;
     m_privateDelegate = new TCODBSPTraversalDelegatePrivate(this.TCODBSPTraversalDel);
 }
示例#4
0
 private TCODBSP(TCODBSPData* data)
 {
     m_data = data;
     m_delegate = null;
     m_privateDelegate = new TCODBSPTraversalDelegatePrivate(this.TCODBSPTraversalDel);
 }
示例#5
0
 public bool TraversePreOrder(TCODBSPTraversalDelegate listner)
 {
     m_delegate = listner;
     return TCOD_bsp_traverse_pre_order(new IntPtr(m_data), m_privateDelegate, IntPtr.Zero);
 }
示例#6
0
文件: TCODBSP.cs 项目: vrum/roguelike
 public TCODBSP(int x, int y, int w, int h)
 {
     m_data            = (TCODBSPData *)TCOD_bsp_new_with_size(x, y, w, h);
     m_delegate        = null;
     m_privateDelegate = new TCODBSPTraversalDelegatePrivate(this.TCODBSPTraversalDel);
 }
示例#7
0
文件: TCODBSP.cs 项目: vrum/roguelike
 public TCODBSP()
 {
     m_data            = (TCODBSPData *)TCOD_bsp_new();
     m_delegate        = null;
     m_privateDelegate = new TCODBSPTraversalDelegatePrivate(this.TCODBSPTraversalDel);
 }
示例#8
0
文件: TCODBSP.cs 项目: vrum/roguelike
 public bool TraverseInvertedOrder(TCODBSPTraversalDelegate listner)
 {
     m_delegate = listner;
     return(TCOD_bsp_traverse_inverted_level_order(new IntPtr(m_data), m_privateDelegate, IntPtr.Zero));
 }
示例#9
0
文件: TCODBSP.cs 项目: vrum/roguelike
 public bool TraversePreOrder(TCODBSPTraversalDelegate listner)
 {
     m_delegate = listner;
     return(TCOD_bsp_traverse_pre_order(new IntPtr(m_data), m_privateDelegate, IntPtr.Zero));
 }
示例#10
0
文件: TCODBSP.cs 项目: vrum/roguelike
 private TCODBSP(TCODBSPData *data)
 {
     m_data            = data;
     m_delegate        = null;
     m_privateDelegate = new TCODBSPTraversalDelegatePrivate(this.TCODBSPTraversalDel);
 }