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; }
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; }
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; }
public bound(Vector2 vec) { pos = new s_save_vector(vec.x, vec.y); }