Exemplo n.º 1
0
 public void save_data(string chapter_id, string progression_id, PastRankings past_rankings)
 {
     Time           = DateTime.Now;
     Chapter_Id     = chapter_id;
     Progression_Id = progression_id;
     System         = Global.game_system.copy();
     Battalions     = Global.game_battalions;
     Actors         = Global.game_actors;
     Switches       = new Event_Variable_Data <bool>(Config.EVENT_DATA_LENGTH);
     Variables      = new Event_Variable_Data <int>(Config.EVENT_DATA_LENGTH);
     System.get_event_data(Switches, Variables);
     //Event_Processor.get_data(Switches, Variables); //Debug
     Ranking       = new Game_Ranking();
     Past_Rankings = (PastRankings)past_rankings.Clone();
 }
Exemplo n.º 2
0
 private void Start()
 {
     meshRenderer = GetComponent <MeshRenderer>();
     gameSys      = transform.parent.parent.GetComponent <Game_System>();
 }