-
Notifications
You must be signed in to change notification settings - Fork 0
Sprites
James McNair edited this page Apr 14, 2019
·
1 revision
Sprites are used for anything which moves around and needs regular updating.
All default sprites are contained in the com.booksaw.corruption.sprite package.
- Create the class:
public class Foo extends Sprite - Edit all implementable methods and complete methods.
- In
SpriteListadd the sprite to the enum and alter all methods to include references to the getSprite. - In
LevelManagerfind the private methodpublic void makeSprite(String ref)and modify with a custom reference for the sprite (should be the same as the reference ingetName)