Skip to content

make Screens, ShapeRenderables and TextRenderables implement the Disposable interface #2

@approachcircle

Description

@approachcircle

at the moment, Screens can either be rendering or not, which does not leave much flexibility for things that require game state to be saved in memory and set aside, and then retrieved at a later date. Screens should be able to be suspended and resumed to allow for saving and retrieving game state within a screen at will. they should also be Disposable (along with ShapeRenderables and TextRenderables) when we know a Screens instance will not be used again (resumed) so that it (and its BasicRenderables/TextRenderables) can be disposed, and its memory can be reclaimed.

Metadata

Metadata

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions