Package com.booksaw.betterTeams.team
Interface VariableTeamComponent<T>
- All Known Implementing Classes:
DoubleTeamComponent,IntTeamComponent,MoneyComponent,ScoreComponent
public interface VariableTeamComponent<T>
-
Method Summary
-
Method Details
-
add
Add the given amount to this variable- Parameters:
amount- The amount to add
-
sub
Subtract the given amount from this variable- Parameters:
amount- The amount to subtract
-
mult
Multiply this variable by the given amount- Parameters:
amount- The scaler
-
div
Divide this variable by the given amount- Parameters:
amount- The scalar
-