Created
July 10, 2019 02:23
-
-
Save Trond240/20c72eb194e4776150b7df182abdf74a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Class: Vehicle | |
Color (string) | |
EngineType (string) | |
TotalCapacity (integer) | |
Decals (array) | |
Methods | |
CalculateCapacity (subtracts CurrentCapacity by TotalCapacity) | |
AddDecals (append a decal item in the decal array) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment