Exemplo n.º 1
0
 public s_trig(string name, Vector2 pos)
 {
     trigSize       = new s_save_vector(20, 20);
     this.name      = name;
     util           = null;
     pos_x          = (int)pos.x;
     pos_y          = (int)pos.y;
     characternames = null;
     boundaryobj    = null;
 }
Exemplo n.º 2
0
 public s_save_item(Vector2 vec, int id,
                    //o_item it,
                    ITEM_TYPE type, string name, string IDid)
 {
     pos = new s_save_vector(vec.x, vec.y);
     ID  = id;
     //it = item;
     this.type = type;
     this.name = name;
     stID      = IDid;
 }
Exemplo n.º 3
0
 public s_trig(string name, Vector2 pos, o_trigger.TRIGGER_TYPE trig, Vector2 size, bool disable)
 {
     trigSize              = new s_save_vector(size.x, size.y);
     this.name             = name;
     util                  = null;
     pos_x                 = (int)pos.x;
     pos_y                 = (int)pos.y;
     characternames        = null;
     boundaryobj           = null;
     trigtye               = trig;
     IsPermanentlyDisabled = disable;
 }
Exemplo n.º 4
0
 public bound(Vector2 vec)
 {
     pos = new s_save_vector(vec.x, vec.y);
 }