Package monopoly.model.personality

Examples of monopoly.model.personality.ILandSeller


     * @param amount сумма сделки.
     */
    public void makePlayerBuyLand(Player p, ILand land, int amount) {
        ILandOwner owner = land.owner();
        if (owner instanceof ILandSeller) {
            ILandSeller seller = (ILandSeller) owner;
            if (p.buyLand(seller, amount, land)) {

                GameModelEvent event = new GameModelEvent(this, land, seller, p);
                fireLandChangedOwner(event);

View Full Code Here

TOP

Related Classes of monopoly.model.personality.ILandSeller

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.