Package com.mygdx.game.Entitys
Class Weather
- java.lang.Object
-
- com.mygdx.game.Entitys.Entity
-
- com.mygdx.game.Entitys.Weather
-
- All Implemented Interfaces:
CollisionCallBack
public class Weather extends Entity implements CollisionCallBack
NEW
-
-
Constructor Summary
Constructors Constructor Description Weather()Creates a Weather entity,
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidBeginContact(CollisionInfo info)Called once a collision has being noticesvoidEndContact(CollisionInfo info)Called after the collision has being solvedvoidEnterTrigger(CollisionInfo info)if called on a Player against anything else call it on the other thingvoidExitTrigger(CollisionInfo info)if called on a Player against anything else call it on the other thingvoidmoveWeather()voidupdate()Similar to the Component's update event-
Methods inherited from class com.mygdx.game.Entitys.Entity
addComponent, addComponents, cleanUp, getComponent, getComponent, getComponents, getName, raiseEvents, setName
-
-
-
-
Method Detail
-
moveWeather
public void moveWeather()
-
update
public void update()
Description copied from class:EntitySimilar to the Component's update event
-
BeginContact
public void BeginContact(CollisionInfo info)
Description copied from interface:CollisionCallBackCalled once a collision has being notices- Specified by:
BeginContactin interfaceCollisionCallBack
-
EndContact
public void EndContact(CollisionInfo info)
Description copied from interface:CollisionCallBackCalled after the collision has being solved- Specified by:
EndContactin interfaceCollisionCallBack
-
EnterTrigger
public void EnterTrigger(CollisionInfo info)
if called on a Player against anything else call it on the other thing- Specified by:
EnterTriggerin interfaceCollisionCallBack
-
ExitTrigger
public void ExitTrigger(CollisionInfo info)
if called on a Player against anything else call it on the other thing- Specified by:
ExitTriggerin interfaceCollisionCallBack
-
-