Class Sprite
java.lang.Object
GameObject
Sprite
- 
Field Summary
FieldsModifier and TypeFieldDescriptionprotected intprotected Imageprotected intprotected intprotected intFields inherited from class GameObject
game, timer - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionprotected voidprotected voidrender(Graphics2D g)Method who render a object on screen (invoke on begin of each frames).Methods inherited from class GameObject
awake, getDeltaTime, onDestroy, setTimer, start, timerClockDown, update 
- 
Field Details
- 
x
protected int x - 
y
protected int y - 
width
protected int width - 
height
protected int height - 
image
 
 - 
 - 
Constructor Details
- 
Sprite
public Sprite() 
 - 
 - 
Method Details
- 
loadImage
 - 
render
Description copied from class:GameObjectMethod who render a object on screen (invoke on begin of each frames).- Overrides:
 renderin classGameObject
 
 -