GF4J 0.9.4 Beta

gameframe.engines.msjava4x
Interface IBitmapStorage

All Known Implementing Classes:
CFullscreenGraphicsEngine

interface IBitmapStorage

Defines an interface for classes that wish to be able to register created bitmaps (in this case the graphics engines). Needed so that either fullscreen graphics engine and windowed graphics engine can both use the same bitmap classes and those classes can notify either engine that a new bitmap was created by them.

Since:
GameFrame for Java 0.9
Version:
GameFrame for Java 0.9.4

Method Summary
 void addBitmap(CBitmapBase bitmap)
          Adds a created bitmap to the storage.
 java.lang.String getDataDirectory()
          Returns the current data directory.
 void removeBitmap(CBitmapBase bitmap)
          Removes a bitmap from the storage.
 

Method Detail

addBitmap

public void addBitmap(CBitmapBase bitmap)
Adds a created bitmap to the storage.
Parameters:
bitmap - The bitmap to be added to the storage.

removeBitmap

public void removeBitmap(CBitmapBase bitmap)
Removes a bitmap from the storage.
Parameters:
bitmap - The bitmap to be removed from the storage.

getDataDirectory

public java.lang.String getDataDirectory()
Returns the current data directory.
Returns:
The current data directory.

GF4J 0.9.4 Beta