Beispiel #1
0
 public HexData(int _x, int _z, bool THIS_METHOD_IS_FOR_DUMMY_PERIMETER_HEXES_ONLY)
 {
     x = _x;
     z = _z;
     hex_type = Hex.Perimeter;
     direction_from_central_hex = Facing.South;
     added_occupier = EntityE.NotCheckedYet;
     traversal_cost = -1;
     hex_object 	   = null;
     vision_state   = Vision.Unvisted;
     hex_script     = null;
     is_node_here = false;
 }
Beispiel #2
0
 public HexData(int _x, int _z, Hex _type, GameObject _hex_object, engineHexS _hex_script, Vision _vision)
 {
     x 							= _x;
     z 							= _z;
     hex_type 					= _type;
     hex_object 	   				= _hex_object;
     vision_state   				= _vision;
     direction_from_central_hex  = Facing.South; //this is a temp value, should be replaced manually usually
     added_occupier 				= EntityE.NotCheckedYet;
     traversal_cost 				= -1;
     hex_script     = _hex_script;
     is_node_here = false;
 }