Package ru.vagrant_ai.questionmarkgame.util.list

Examples of ru.vagrant_ai.questionmarkgame.util.list.MS


    {
      util_speed = speed;
      for (int i = 0; i < MonsterHandler.monster_array.size(); ++i)
      {
        Monster monster = MonsterHandler.monster_array.get(i);
        MS state = monster.state;
        if ((zone.intersects(monster.hitbox) || zone.contains(monster.hitbox)) && state != MS.NULL && state != MS.DEAD)
        {
          monster.onDamage(damage+(type == 1?(int) (Elements.extractLevel(ITEM.P_UPG_SMALL_LIGHT)*2):0)+(type == 2?Elements.extractLevel(ITEM.P_UPG_LIGHT)*2:0)+(type == 3?(int) (Elements.extractLevel(ITEM.P_UPG_STRONG_LIGHT)*2.5f):0), false, false);
        }
       
View Full Code Here


      km_lvl = Elements.extractLevel(ITEM.P_UPG_KAMIKAZE);
      radius += km_lvl*4;
    }
    for (int i = 0; i < list.size(); ++i)
    {
      MS mob_state = list.get(i).state;
      if (mob_state != MS.DEAD && mob_state != MS.NULL)
      {
        Rectangle mob_hitbox = list.get(i).hitbox; 
        for (float j = 0; j < radius; j += 3)
        {
View Full Code Here

TOP

Related Classes of ru.vagrant_ai.questionmarkgame.util.list.MS

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.