public class SimpleGameFactory
extends AbstractGameFactory
Constructor and Description |
---|
SimpleGameFactory(java.lang.String name,
java.lang.Class<? extends uk.co.electronstudio.retrowar.Game> gameClazz,
java.lang.String path,
com.badlogic.gdx.graphics.Texture image,
java.lang.String description) |
Modifier and Type | Method and Description |
---|---|
Game |
create(GameSession session) |
java.lang.String |
getDescription()
Description displayed on menu
|
com.badlogic.gdx.graphics.Texture |
getImage()
Texture screenshot or logo to display on menu
|
create, createWithSimpleSettings, createWithTournamentSettings, getDescription, getImage, getLevel, getLevelImages, getLevels, getName, getOptions, getPathPrefix, getShowOnGamesMenu, setLevel, setShowOnGamesMenu
public SimpleGameFactory(java.lang.String name, java.lang.Class<? extends uk.co.electronstudio.retrowar.Game> gameClazz, java.lang.String path, com.badlogic.gdx.graphics.Texture image, java.lang.String description)
image
- Texture screenshot or logo to display on menudescription
- Description displayed on menupublic Game create(GameSession session)
public com.badlogic.gdx.graphics.Texture getImage()
Texture screenshot or logo to display on menu
public java.lang.String getDescription()
Description displayed on menu