Package com.mygdx.game.Entitys
Class Indicator
- java.lang.Object
- 
- com.mygdx.game.Entitys.Entity
- 
- com.mygdx.game.Entitys.Indicator
 
 
- 
 public class Indicator extends Entity Added for Assessment 2 in order to increase visual clarity on Kill Quests
- 
- 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidfollowPlayer()Called when updating the position of the Indicator.voidrotateSprite()Called when rotating the sprite of the Indicator.voidupdate()Called once per framecom.badlogic.gdx.math.Vector2updateGradient()Called when updating the gradient of the Indicator.- 
Methods inherited from class com.mygdx.game.Entitys.EntityaddComponent, addComponents, cleanUp, dispose, getComponent, getComponent, getName, raiseEvents, setName
 
- 
 
- 
- 
- 
Constructor Detail- 
Indicatorpublic Indicator(KillQuest kq) Creates an indicator attached to a kill quest and targeting a college- Parameters:
- kq- the Kill Quest this indicator is attached to
 
 
- 
 - 
Method Detail- 
updateGradientpublic com.badlogic.gdx.math.Vector2 updateGradient() Called when updating the gradient of the Indicator.
 - 
followPlayerpublic void followPlayer() Called when updating the position of the Indicator.
 - 
rotateSpritepublic void rotateSprite() Called when rotating the sprite of the Indicator.
 
- 
 
-