|
@@ -36,6 +36,10 @@ public class CpsObject implements ComparableObject {
|
|
|
connectedTo = new ArrayList<CpsObject>();
|
|
|
position = new Position();
|
|
|
id = IdCounter.nextId();
|
|
|
+ this.name = obj.getName();
|
|
|
+ this.energyIn = obj.getEnergyIn();
|
|
|
+ this.energyOut = obj.getEnergyOut();
|
|
|
+ this.image = obj.getImage();
|
|
|
}
|
|
|
|
|
|
/* Obj type */
|