Package game.core.event

Examples of game.core.event.GameEvent


        this.guiModel = guiModel;

        player = new Player(this, guiModel);
        player.initInventory();

        Event.setGameEvent(new GameEvent(this));

        player.setMotion(50, 50);

        final List<Message> messagesDebut = MessagePropertie.getMessage(map);
        if (messagesDebut != null) {
View Full Code Here


        this.inventoryIsDisplayed = !inventoryIsDisplayed;
        if (inventoryIsDisplayed) {
            Event.setInventoryEvent(new InventoryEvent(player.getInventory()));
            player.getInventory().reset();
        } else {
            Event.setGameEvent(new GameEvent(this));
        }
        setChanged();
        notifyObservers();
    }
View Full Code Here

TOP

Related Classes of game.core.event.GameEvent

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.