From Victory Engine
This page describes the different components that make up the Victory Engine. It only contains those elements that are developed by the Victory Engine team, not possible third-party extensions.
The core of the engine. Contains the game loop and entity list.
Framework for keeping track of all the different resources (sprites, textures, sounds, etc). Basically, every object can be a resource. Managing them is done by resource managers, which keep a list of resources with a unique name to find them by.
Listing Resource Manager
The listing resource manager is a resource manager implementation which keeps a list of resource metadata and loads them upon request. Loaders can be registered for different resource types. Resource metadata is read by classes extending ResourceListImporter. Currently an implementation which reads from XML has been made.
Display framework for 2D graphics.
Java2D ("AWT") implementation of the above.
The Managed Connection is a network connection which works by extending a basic stream (such as a TCP socket connection) to allow the sending and receiving of packages. Packages are simply a list of key-value properties. There are three kinds of packages:
- Message: A notification package, no response required.
- Request: A package which demands a response from the receiver.
- Response: Response to above.
Received packages can be processed by setting an event listener. There's no need to create a thread which continuously monitors the connection, this is handled for you.