Renders culled entities with a SpriteTransform to the window
More...
|
| RenderSystem (SpriteBatch spriteBatch) |
| Initializes a new instance of the T:MB2D.EntityComponent.RenderSystem class. More...
|
|
| EntitySystem (params Type[] components) |
| Initializes a new instance of the T:MB2D.EntityComponent.EntitySystem class. Checks if the passed in types are valid components and if not, all components are deregistered leaving a system that knows about nothing and can't operate on any entities. More...
|
|
void | Run () |
| Runs this systems Process() method on all entities More...
|
|
void | AssociateEntity (Entity entity) |
| Associates a new entity with this system. More...
|
|
void | RemoveAssociation (Entity entity) |
| Decouples an association with this system More...
|
|
Renders culled entities with a SpriteTransform to the window
§ RenderSystem()
MB2D.EntityComponent.RenderSystem.RenderSystem |
( |
SpriteBatch |
spriteBatch | ) |
|
|
inline |
Initializes a new instance of the T:MB2D.EntityComponent.RenderSystem class.
- Parameters
-
spriteBatch | Sprite batch to draw to. |
§ PreProcess()
override void MB2D.EntityComponent.RenderSystem.PreProcess |
( |
| ) |
|
|
inlineprotectedvirtual |
§ Process()
override void MB2D.EntityComponent.RenderSystem.Process |
( |
Entity |
entity | ) |
|
|
inlineprotectedvirtual |
The documentation for this class was generated from the following file:
- MB2D/src/EntityComponent/Systems/RenderSystem.cs