277278279280281282283
} } void setPlayerSpriteFactory() { Player.setSpriteFactory(new SpriteFactory(m_spriteImageArray)); }
33343536373839
public enum Direction {Up, Down, Left, Right} /* Handles movement queue */ protected Queue<Direction> m_movementQueue = new LinkedList<Direction>(); public static void loadSpriteFactory() { m_spriteFactory = new SpriteFactory(); }