Interface Upgrade
- All Known Implementing Classes:
DancePartyUpgrade
,ExtortionUpgrade
,LoanUpgrade
,RageUpgrade
,SpeedBootsUpgrade
public interface Upgrade
An Upgrade that activate the specific upgrade name when it is called and deactivate after reaches time limit
-
Method Summary
Modifier and TypeMethodDescriptionvoid
activate()
Activate the upgrade, this will be called once the random upgrade is generatedvoid
Deactivate the activated upgrade once it reaches time limit
-
Method Details
-
activate
void activate()Activate the upgrade, this will be called once the random upgrade is generated -
deactivate
void deactivate()Deactivate the activated upgrade once it reaches time limit
-