Navigation

News

Theory and documentation

Version history and plans

Screenshots

Download

About


Javadoc

SourceForge homepage

SourceForge.net Logo

Last updated: 2004-04-20

Sprite framework

    Status: Mature
    Introduced in: 0.0
    Refactorings: 3
    Developed by: Freerider, Treefinger, Sfera
    Latest iteration in: 0.3
    Latest iteration by: Treefinger

Overview
    The Sprite hierarchy is a quite old construct of Haphazard and was refactored in april 2004 to reach the current mature state. It is divided into four classes:

    • Sprite
      An abstract class denoting basic functionality for sprites
    • BasicSprite
      Basically just a part of an image that can be painted to the screen
    • CompositeSprite
      Several Sprites that are drawn on top of eachother
    • AnimatedSprite
      Several Sprites set together in a sequence that forms an animation