package com.weem.epicinventor.placeable; import com.weem.epicinventor.*; public class Forge extends Building { private static final long serialVersionUID = 10000L; public Forge(PlaceableManager pm, Registry rg, String sm, String am, int x, int y, Placeable.State cs) { super(pm, rg, sm, am, x, y, cs); type = "Forge"; totalBuildTime = 60; totalHitPoints = 560; powerRequired = 0; powerGenerated = 0; hitPoints = totalHitPoints; } @Override public void setTransient(Registry rg) { totalHitPoints = 560; super.setTransient(rg); } }