Exemple #1
0
        private void Handle(planet_loc_spacket msg)
        {
            lPlanetPositions.Trace(msg.ToString());

            Planet planet = galaxy.GetPlanet(msg.pnum);

            planet.Name = msg.name;

            planet.SetLocationOrientation(msg.x, msg.y, 0);
            planet.TryCreateEntity(); // REVIEW
        }
        private void Handle(planet_loc_spacket msg)
        {
            lPlanetPositions.Trace(msg.ToString());

            Planet planet = galaxy.GetPlanet(msg.pnum);
            planet.Name = msg.name;

            planet.SetLocationOrientation(msg.x, msg.y, 0);
            planet.TryCreateEntity(); // REVIEW
        }