Exemplo n.º 1
0
        // --- Methods ---
        // Creates a particle
        public override Particle createParticle(GameExt game)
        {
            // Variables
            Particle	p=	new Particle(game);

            p.texture=	game.textures.get("particle_ember");
            p.color=	game.getColor("yellow");

            return p;
        }
Exemplo n.º 2
0
        // --- Methods ---
        // Creates a particle
        public override Particle createParticle(GameExt game)
        {
            // Variables
            Particle	p=	new Particle(game);

            p.texture=	game.textures.get("particle_ember");
            if(Start.rng.Next(0, 2)== 0)
                p.color=	game.getColor("#3183c5");
            else
                p.color=	game.getColor("#cd4120");

            return p;
        }