Skip to content

Commit

Permalink
Forgotten file :v
Browse files Browse the repository at this point in the history
  • Loading branch information
Borsty authored and zorro300 committed Feb 22, 2012
1 parent b51b0f6 commit c2a0f37
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions src/com/mojang/mojam/entity/mob/HostileMob.java
@@ -0,0 +1,16 @@
package com.mojang.mojam.entity.mob;

import com.mojang.mojam.level.DifficultyInformation;


public abstract class HostileMob extends Mob {

public HostileMob(double x, double y, int team) {
super(x, y, team);
}

@Override
public void setStartHealth(float newHealth) {
super.setStartHealth(DifficultyInformation.calculateHealth(newHealth));
}
}

0 comments on commit c2a0f37

Please sign in to comment.