Added entity class, remade tower class to derive from entity class