Package entidades

Examples of entidades.Jugador


    /**
     * Método para crear y añadir los NPC
     */
    private void crearNPC() {
        player = new Jugador(120, 92, ResourceManager.getParameter("SpriteProtagonista"), 42, 57);
        NPC npc1 = new NPC(124, 80, ResourceManager.getParameter("SpriteNPC_mas01"), 45, 57, DIR_ABA, "npc1", "npc1_p");
        NPC npc2 = new NPC(116, 48, ResourceManager.getParameter("SpriteNPC_mas02"), 48, 60, DIR_DER, "npc2", "npc2_p");
        NPC npc3 = new NPC(115, 54, ResourceManager.getParameter("SpriteNPC_fem01"), 48, 57, DIR_IZQ, "npc3", "npc3_p");
        NPC npc4 = new NPC(115, 76, ResourceManager.getParameter("SpriteNPC_fem02"), 42, 60, DIR_DER, "npc4", "npc4_p");
        NPC npc5 = new NPC(115, 42, ResourceManager.getParameter("SpriteNPC_mas06"), 48, 60, DIR_DER, "npc5", "npc5_p");
View Full Code Here


    /**
     * Método para crear y añadir los NPC
     */
    private void crearNPC() {
        player = new Jugador(20, 5, ResourceManager.getParameter("SpriteProtagonista"), 42, 57);
        NPC julio = new NPC(17, 8, ResourceManager.getParameter("SpriteNPC_Profe_Julio"), 42, 57, DIR_DER, "julio", "julio_c");
        NPC monica = new NPC(17, 11, ResourceManager.getParameter("SpriteNPC_Profe_Monica"), 42, 57, DIR_DER, "monica", "monica_c");
        NPC quim = new NPC(23, 8, ResourceManager.getParameter("SpriteNPC_Profe_Quim"), 42, 57, DIR_IZQ, "quim", "quim_c");
        NPC nacho = new NPC(23, 11, ResourceManager.getParameter("SpriteNPC_Profe_Nacho"), 42, 57, DIR_IZQ, "nacho", "nacho_c");
        NPC npc1 = new NPC(13, 11, ResourceManager.getParameter("SpriteNPC_mas11"), 45, 57, DIR_ARR, "npc1", "npc1_c");
View Full Code Here

TOP

Related Classes of entidades.Jugador

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.