@@ -0,0 +1,870 @@
+package fourmiz.abillity;%0A%0Aimport fourmiz.collision.Entity;%0Aimport fourmiz.engine.Abillity;%0A%0Apublic class Level extends Abillity %7B%09%0A%09private static final int EGGS_TIME=30*1000;%0A%09private static final int LARVA_TIME=EGGS_TIME+100*1000;%0A%09private static final int NYMPH_TIME=LARVA_TIME+170*1000;%0A%09private LifeState state;%0A%09private int time;%0A%09%0A%09%0A%09public Level(Entity owner) %7B%0A%09%09super(owner);%0A%09%7D%0A%0A%09@Override%0A%09public void update(int delta) %7B%0A%09%09time+=delta;%0A%09%09%0A%09%09if(state==LifeState.EGGS && time%3E=EGGS_TIME)%7B%0A%09%09%09state=LifeState.LARVA;%0A%09%09%7D%0A%09%09else if(state==LifeState.LARVA && time%3E=LARVA_TIME)%7B%0A%09%09%09state=LifeState.NYMPH;%0A%09%09%7D%0A%09%09else if(state==LifeState.NYMPH && time%3E=NYMPH_TIME)%7B%0A%09%09%09state=LifeState.FOURMIZ;%0A%09%09%09%0A%09%09%09%0A%09%09%7D%0A%0A%09%7D%0A%09%0A%09public LifeState getState() %7B%0A%09%09return state;%0A%09%7D%0A%0A%09public int getTime() %7B%0A%09%09return time;%0A%09%7D%0A%0A%09public enum LifeState%7B%0A%09%09EGGS, LARVA, NYMPH, FOURMIZ%0A%09%7D%0A%7D%0A

Add skeleton of life cycle