Eksāmena noslēguma darbs
Encapsulation – the ScoreManager class keeps the score variable private and controls access through a method.
Inheritance – PointCollectible inherits from the base class Collectible.
Polymorphism – the Collect() method is used the same way on all collectibles, but behaves differently depending on the class.
Abstraction – Collectible is an abstract class that defines a shared interface for all collectible types.
Published | 13 days ago |
Status | Released |
Platforms | HTML5 |
Author | Vladislavs |
Made with | Unity |
Comments
Log in with itch.io to leave a comment.