cpu fix ;o
This commit is contained in:
parent
3892cd13f7
commit
7948fa6f71
@ -44,7 +44,7 @@ public class Halloween extends SoloGame
|
||||
private ArrayList<WaveBase> _waves;
|
||||
private int _wave = 0;
|
||||
|
||||
private int _maxMobs = 100;
|
||||
private int _maxMobs = 80;
|
||||
private HashSet<CreatureBase> _mobs = new HashSet<CreatureBase>();
|
||||
private PumpkinKing _king;
|
||||
|
||||
|
@ -57,7 +57,7 @@ public class MobGiant extends CreatureBase<Giant>
|
||||
if (event.getType() == UpdateType.TICK)
|
||||
Move();
|
||||
|
||||
if (event.getType() == UpdateType.FAST)
|
||||
if (event.getType() == UpdateType.SEC)
|
||||
Destroy();
|
||||
|
||||
}
|
||||
|
@ -47,7 +47,7 @@ public class MobSpiderLeaper extends CreatureBase<CaveSpider>
|
||||
@Override
|
||||
public void Update(UpdateEvent event)
|
||||
{
|
||||
if (event.getType() == UpdateType.FAST)
|
||||
if (event.getType() == UpdateType.SLOW)
|
||||
Move();
|
||||
|
||||
if (event.getType() == UpdateType.SEC)
|
||||
|
@ -46,7 +46,7 @@ public class MobSpiderWebber extends CreatureBase<Zombie>
|
||||
@Override
|
||||
public void Update(UpdateEvent event)
|
||||
{
|
||||
if (event.getType() == UpdateType.FAST)
|
||||
if (event.getType() == UpdateType.SLOW)
|
||||
Move();
|
||||
|
||||
if (event.getType() == UpdateType.SLOW)
|
||||
|
Loading…
Reference in New Issue
Block a user