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