/// <summary> /// functions used to draw power from PowerSource /// </summary> public virtual void PowerUp() // virtual for now(in case) { if (!IsPowered && PowerSource.HasDrawnPower(RequiredPower)) // if it's not powered, check if it can draw power { IsPowered = true; // if it can, draw power and power up } }