Base Classes
To conform to the Object-Oriented Paradigm, a few base classes are provided for extension.
const { Sprite } = zion.createComponents();
class SnakeSegment extends Sprite {
// ...
}
GameThe game entry class. We suggest you extend it in your main game file.SpriteThe basic build block which are integrated into a larger scene.SpriteSheetA bitmap image class that contains several smaller graphics in a tiled grid arrangement. Used in animations.ParticleandParticleSystemSee Particle Systems.ObstacleAn extendable collision-detection system. See Physics.