Blame |
Last modification |
View Log
| RSS feed
package com.gebauz.burutaru;
import com.gebauz.bauzoid.app.CustomServices;
import com.gebauz.bauzoid.game.Game;
import com.gebauz.bauzoid.graphics.Font;
/** Provides the global font, etc. */
public class BurutaruCustomServices
extends CustomServices
{
private Font mInGameFont =
null;
static BurutaruCustomServices mInstance =
null;
public BurutaruCustomServices
(Game game
)
{
super(game
);
mInstance =
this;
}
@
Override
public void init
()
{
mInGameFont = getGame
().
getFonts().
loadFont("data/fonts/ingame.bzf");
}
@
Override
public void exit
()
{
mInGameFont =
null;
}
@
Override
public void update
(float deltaTime
)
{
}
@
Override
public void render
()
{
}
public Font getFont
()
{
return mInGameFont
;
}
public Font getInGameFont
()
{
return mInGameFont
;
}
public static BurutaruCustomServices getInstance
()
{
return mInstance
;
}
}