Esempio n. 1
0
 public WorldState(InitializationMessage init)
 {
     m_size      = init.size;
     m_rover     = new Rover(init.min_sensor, init.max_sensor, init.max_turn, init.max_hard_turn);
     m_timeLimit = init.time_limit;
     m_tree      = new SimpleQuadTree(new RectangleF(-(m_size.Width / 2.0f), -(m_size.Height / 2.0f), m_size.Width, m_size.Height));
 }
Esempio n. 2
0
 public InitializationMessageEventArgs(InitializationMessage m)
 {
     this.message = m;
 }