Package net.alteiar.beans.combatTraker

Examples of net.alteiar.beans.combatTraker.CombatTrackerUnit


        this);
  }

  private void addElement(final UniqueID unitId) {
    // wait 5 second at worse
    CombatTrackerUnit unit = CampaignClient.getInstance().getBean(unitId,
        5000L);

    if (unit != null) {
      unit.addCombatTrackerChangeListener(CombatTrakerModel.this);
      fireIntervalAdded(CombatTrakerModel.this, getSize() - 1, getSize());
    }
  }
View Full Code Here


    }
  }

  private void removeElement(UniqueID unitId) {
    // wait 1 second at worse because it should be here
    CombatTrackerUnit unit = CampaignClient.getInstance().getBean(unitId,
        1000L);

    if (unit != null) {
      unit.removeCombatTrackerChangeListener(this);
      this.fireIntervalRemoved(this, 0, getSize());
    }
  }
View Full Code Here

TOP

Related Classes of net.alteiar.beans.combatTraker.CombatTrackerUnit

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.