Package de.creepsmash.common.messages.client

Examples of de.creepsmash.common.messages.client.ChangeStrategyMessage


    Tower t = this.selectTower();
    if ((t != null)
        && (!this.isDead())
        && (t.isReady())
        && (!t.getGrid().isOccupied())) {
      ChangeStrategyMessage btm = new ChangeStrategyMessage();
      btm.setClientId(getPlayerId());
      btm.setTowerId(t.getId());
      btm.setStrategyType(fcs.getClass().getSimpleName());
      btm.setLocked(fcs.isCreepLock());
      getNetwork().sendMessage(btm);
      t.UpdateSelectedStrategy(fcs);
      fireSelectedChangedEvent("strategy");
      t.getGrid().setOccupiedStatus(true);
    }
View Full Code Here

TOP

Related Classes of de.creepsmash.common.messages.client.ChangeStrategyMessage

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.