Package de.tum.cit.ase.maze.objects.still.collectable
package de.tum.cit.ase.maze.objects.still.collectable
This module contains all the functionality, of collectables.
Collectables are GameElement's, that can be collected by a Player.
These can also be differentiated between normal collectables and time based ones. Time based ones, give an effect to players for a specified amount of time.
-
ClassesClassDescriptionA collectable is a
GameElementthat can be collected by a player and then applies an effect to thePlayer.Makes thePlayerinvulnerable for theTimedCollectable.durationthis has an effectCollectablethat restores the health of the player byHealthCollectable.HEALTH_TO_RESTOREBoosts the speed of the player bySpeedBoost.speedBoost