Exemplo n.º 1
0
        public FurnaceEntity(uint id, int x, int y, Action <uint> onDestroy, FurnaceData data) : base(id, x, y, onDestroy)
        {
            _data = data;

            CurrentFuel = new Fuel(0.0f, 0.0f);

            Input       = new Slot();
            FuelSlot    = new ConstrainedSlot <IFuel>(new Slot());
            _outputSlot = new Slot();
            Output      = new OutputSlot(_outputSlot);
        }
Exemplo n.º 2
0
 public FurnaceEntity(uint id, int x, int y, Action <uint> onDestroy, FurnaceData data, byte[] arr) : this(id, x, y, onDestroy, data)
 {
 }