Plastix / PixelPilot

A top down dogfighting game with pixel graphics.
0 stars 0 forks source link

Ensure manually managed objects are disposed of properly #24

Open JEphron opened 9 years ago

JEphron commented 9 years ago

Currently BitmapFonts are created in the Button class but are never disposed of. This may apply to other objects. See list here.

Plastix commented 9 years ago

All of our classes that use libgdx objects should probably have a dispose() method that clears these.

JEphron commented 9 years ago

LibGDX has a Disposable interface which we might consider having some of our classes inherit.

Plastix commented 9 years ago

I assume scene2D calls that when it removes an actor?