Exemple #1
0
 /// <summary>
 /// The main entry point for the application.
 /// </summary>
 static void Main(string[] args)
 {
     using (WorldGame game = new WorldGame())
     {
         game.Run();
     }
 }
 /// <summary>
 /// The main entry point for the application.
 /// </summary>
 static void Main(string[] args)
 {
     using (WorldGame game = new WorldGame())
     {
         game.Run();
     }
 }
Exemple #3
0
        public Jugador(WorldGame game, float X, float Y, float tamano)
            : base(game, X, Y, tamano)
        {
            Vivo          = true;
            llenura       = LLENURA_POR_DEFECTO;
            tazaDeAmbruna = TAZA_DE_AMBRUNA_POR_DEFECTO;
            velocidad     = VELOCIDAD_POR_DEFECTO;
            worldGame     = game;

            moviendose = false;
            direccion  = 0f;

            edad = -1;

            antenasAng = new float[] { -45f, 45f };
        }
        public Jugador(WorldGame game, float X, float Y, float tamano)
            : base(game, X, Y, tamano)
        {
            Vivo = true;
            llenura = LLENURA_POR_DEFECTO;
            tazaDeAmbruna = TAZA_DE_AMBRUNA_POR_DEFECTO;
            velocidad = VELOCIDAD_POR_DEFECTO;
            worldGame = game;

            moviendose = false;
            direccion = 0f;

            edad = -1;

            antenasAng = new float[] { -45f, 45f };
        }