예제 #1
0
 CollisionComponent(EntityManager.Transform t, CollCallBack coll)
 {
     tran = t;
     callback = coll;
 }
예제 #2
0
 static CollisionComponent creator(EntityManager.Transform t, CollCallBack coll)
 {
     return new CollisionComponent(t, coll);
 }
예제 #3
0
 public void SetCallBack(CollCallBack to)
 {
     callback = to;
 }
예제 #4
0
 public void SetCallBack(CollCallBack to)
 {
     callback = to;
 }
예제 #5
0
 static CollisionComponent creator(EntityManager.Transform t, CollCallBack coll)
 {
     return(new CollisionComponent(t, coll));
 }
예제 #6
0
 List <zCollisionPrimitive> prims = new List <zCollisionPrimitive>(); //Multiple prims per coll comp
 CollisionComponent(EntityManager.Transform t, CollCallBack coll)
 {
     tran     = t;
     callback = coll;
 }