예제 #1
0
        public override void Update()
        {
            timer.Update();

            Item item = Handler.GetItemInSlot(0);

            if (!item.IsAir && item.modItem is BaseContainmentUnit unit)
            {
                unit.EnergyHandler.TransferEnergy(EnergyHandler);
            }
        }
예제 #2
0
		public override void Update()
		{
			timer.Update();
		}
예제 #3
0
 public override void Update() => timer.Update();