public static Sprite white = new Sprite(32 , 0 , 0 , SpriteSheet.plates); public static Sprite yellow = new Sprite(32 , 1 , 0, SpriteSheet.plates); public static ...
// Parent class for all Sprites. Each subclass will have Provides update(), draw(), and handleCollision() methods. public abstract class Sprite { // x- and y-coordinates of upper-left corner of the ...