Package spells

Examples of spells.Spell


    x=xIn;
    y=yIn;
  }

  public void eventIn(ClientGameState g) {
    Spell s=g.getSpells().get(ID);
    if(s!=null){
      s.setOldLoc(s.getLoc());
      s.setLoc(new Point2D.Double(x,y));
    }else{
      System.out.println("ID move:"+ID);
      System.out.println("ID's spells:");
     
      for(Spell i :g.getSpells().values())
View Full Code Here


  @Override
  public void eventIn(ClientGameState g) {
    for(Entity e:Enums.effectiveMap.values()){
      if(e.checkType(type)){
        Spell i=(Spell)e;
        i.newSpell(this, g);
        return; //only works once any way
      }
       
    }
  }
View Full Code Here

TOP

Related Classes of spells.Spell

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.