Package beans.serializable

Examples of beans.serializable.Monster


        final int lifeMax = Integer.parseInt(fields.get("life"));
        final int manaMax = Integer.parseInt(fields.get("mana"));
        final int attaque = Integer.parseInt(fields.get("attaque"));
        final int defense = Integer.parseInt(fields.get("defense"));
        final Objet loot = (Objet) GeneralConstant.deSerialize(GeneralConstant.SAVE_OBJECT_PATH + fields.get("loot"));
        final Monster monster = new Monster(name, 10, imagePath, lifeMax, manaMax, attaque, defense, loot);
        GeneralConstant.serialize(GeneralConstant.SAVE_MONSTER_PATH + name, monster);
    }
View Full Code Here

TOP

Related Classes of beans.serializable.Monster

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.