Package game.model.inventory

Examples of game.model.inventory.InventoryModelPatern


     * @param arg Les paramètres de mise à jour (non utilisé)
     */
    @Override
    public void update(final Observable o, final Object arg) {
        inventoryModel = (InventoryModel) o;
        InventoryModelPatern currentModel = inventoryModel.getCurrentModel();
        //Si le modèle courant est le exit model
        if (currentModel == inventoryModel.getExitModel()) {
            currentInventory = inventoryExitScreen;
        } //Si le modèle courant est le menu principal
        else if (currentModel == inventoryModel.getMenuModel()) {
View Full Code Here

TOP

Related Classes of game.model.inventory.InventoryModelPatern

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.