restructuring producer startpage
[mir.git] / source / mircoders / entity / EntityFeature.java
index de1f0de..0863559 100755 (executable)
@@ -18,20 +18,17 @@ import mircoders.storage.*;
  */
 
 
-public class EntityFeature extends AbstractEntity implements Entity
+public class EntityFeature extends Entity
 {
-               private static int instances;
-
 
                public EntityFeature()
                {
-       super();
-                               instances++;
+       super();
                }
 
                public EntityFeature(StorageObject theStorage) {
                        this();
-       setStorage(theStorage);
+       setStorage(theStorage);
                }
 
        public void update() throws StorageObjectException{
@@ -40,8 +37,4 @@ public class EntityFeature extends AbstractEntity implements Entity
                dbContent.setUnproduced("to_feature="+getId());
        }
 
-  public void finalize() {
-         instances--;
-    super.finalize();
-  }
 }