Package game.core.event

Examples of game.core.event.InventoryEvent


     * Change d'ecran vers l'ecran d'inventaire ou reviens sur l'ecran de jeu
     */
    public void switchInventory() {
        this.inventoryIsDisplayed = !inventoryIsDisplayed;
        if (inventoryIsDisplayed) {
            Event.setInventoryEvent(new InventoryEvent(player.getInventory()));
            player.getInventory().reset();
        } else {
            Event.setGameEvent(new GameEvent(this));
        }
        setChanged();
View Full Code Here

TOP

Related Classes of game.core.event.InventoryEvent

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.