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 ArrayList<WaveBase> _waves;
|
||||||
private int _wave = 0;
|
private int _wave = 0;
|
||||||
|
|
||||||
private int _maxMobs = 100;
|
private int _maxMobs = 80;
|
||||||
private HashSet<CreatureBase> _mobs = new HashSet<CreatureBase>();
|
private HashSet<CreatureBase> _mobs = new HashSet<CreatureBase>();
|
||||||
private PumpkinKing _king;
|
private PumpkinKing _king;
|
||||||
|
|
||||||
|
@ -57,7 +57,7 @@ public class MobGiant extends CreatureBase<Giant>
|
|||||||
if (event.getType() == UpdateType.TICK)
|
if (event.getType() == UpdateType.TICK)
|
||||||
Move();
|
Move();
|
||||||
|
|
||||||
if (event.getType() == UpdateType.FAST)
|
if (event.getType() == UpdateType.SEC)
|
||||||
Destroy();
|
Destroy();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -47,7 +47,7 @@ public class MobSpiderLeaper extends CreatureBase<CaveSpider>
|
|||||||
@Override
|
@Override
|
||||||
public void Update(UpdateEvent event)
|
public void Update(UpdateEvent event)
|
||||||
{
|
{
|
||||||
if (event.getType() == UpdateType.FAST)
|
if (event.getType() == UpdateType.SLOW)
|
||||||
Move();
|
Move();
|
||||||
|
|
||||||
if (event.getType() == UpdateType.SEC)
|
if (event.getType() == UpdateType.SEC)
|
||||||
|
@ -46,7 +46,7 @@ public class MobSpiderWebber extends CreatureBase<Zombie>
|
|||||||
@Override
|
@Override
|
||||||
public void Update(UpdateEvent event)
|
public void Update(UpdateEvent event)
|
||||||
{
|
{
|
||||||
if (event.getType() == UpdateType.FAST)
|
if (event.getType() == UpdateType.SLOW)
|
||||||
Move();
|
Move();
|
||||||
|
|
||||||
if (event.getType() == UpdateType.SLOW)
|
if (event.getType() == UpdateType.SLOW)
|
||||||
|
Loading…
Reference in New Issue
Block a user