Exemplo n.º 1
0
 public ActionLoopCycle(int start, int end, int num_loops, LOOP_TYPE loop_type)
 {
     m_start_action_idx = start;
     m_end_action_idx   = end;
     m_number_of_loops  = num_loops;
     m_loop_type        = loop_type;
 }
Exemplo n.º 2
0
 public ActionLoopCycle(int start, int end, int num_loops, LOOP_TYPE loop_type)
 {
     m_start_action_idx = start;
     m_end_action_idx = end;
     m_number_of_loops = num_loops;
     m_loop_type = loop_type;
 }
Exemplo n.º 3
0
 public void ImportData(JSONObject json_data)
 {
     m_delay_first_only = json_data["m_delay_first_only"].Boolean;
     m_end_action_idx   = (int)json_data["m_end_action_idx"].Number;
     m_loop_type        = (LOOP_TYPE)(int)json_data["m_loop_type"].Number;
     m_number_of_loops  = (int)json_data["m_number_of_loops"].Number;
     m_start_action_idx = (int)json_data["m_start_action_idx"].Number;
 }
Exemplo n.º 4
0
 public void ImportData(JSONObject json_data)
 {
     m_delay_first_only = json_data["m_delay_first_only"].Boolean;
     m_end_action_idx = (int)json_data["m_end_action_idx"].Number;
     m_loop_type = (LOOP_TYPE)(int)json_data["m_loop_type"].Number;
     m_number_of_loops = (int)json_data["m_number_of_loops"].Number;
     m_start_action_idx = (int)json_data["m_start_action_idx"].Number;
 }
 public void ImportData(Boomlagoon.JSON.JSONObject json_data)
 {
     if (json_data.ContainsKey("m_finish_at_end"))
     {
         m_finish_at_end = json_data["m_finish_at_end"].Boolean;
     }
     else
     {
         m_finish_at_end = false;
     }
     m_delay_first_only = json_data["m_delay_first_only"].Boolean;
     m_end_action_idx   = (int)json_data["m_end_action_idx"].Number;
     m_loop_type        = (LOOP_TYPE)(int)json_data["m_loop_type"].Number;
     m_number_of_loops  = (int)json_data["m_number_of_loops"].Number;
     m_start_action_idx = (int)json_data["m_start_action_idx"].Number;
 }
Exemplo n.º 6
0
		public void ImportData(Boomlagoon.JSON.JSONObject json_data)
		{
			if(json_data.ContainsKey("m_finish_at_end"))
				m_finish_at_end = json_data["m_finish_at_end"].Boolean;
			else
				m_finish_at_end = false;
			m_delay_first_only = json_data["m_delay_first_only"].Boolean;
			m_end_action_idx = (int) json_data["m_end_action_idx"].Number;
			m_loop_type = (LOOP_TYPE) (int) json_data["m_loop_type"].Number;
			m_number_of_loops = (int) json_data["m_number_of_loops"].Number;
			m_start_action_idx = (int) json_data["m_start_action_idx"].Number;
		}