Package com.dicycat.kroy
Class GameTextures
- java.lang.Object
-
- com.dicycat.kroy.GameTextures
-
public class GameTextures extends java.lang.Object
Stores textures for classes to reference. This means multiple of the same sprite use the same reference. Because of this, render calls are reduced.- Author:
- Riju De
-
-
Constructor Summary
Constructors Constructor Description GameTextures(int truckNum)
-
Method Summary
Modifier and Type Method Description com.badlogic.gdx.graphics.Texture
getBullet()
com.badlogic.gdx.graphics.Texture
getDeadFortress(int fortress)
com.badlogic.gdx.graphics.Texture
getFireStation()
com.badlogic.gdx.graphics.Texture
getFireStationDead()
com.badlogic.gdx.graphics.Texture
getFortress(int fortress)
com.badlogic.gdx.graphics.Texture
getTruck()
com.badlogic.gdx.graphics.Texture
getUFO()
-
-
-
Method Detail
-
getTruck
public com.badlogic.gdx.graphics.Texture getTruck()
-
getUFO
public com.badlogic.gdx.graphics.Texture getUFO()
-
getBullet
public com.badlogic.gdx.graphics.Texture getBullet()
-
getFortress
public com.badlogic.gdx.graphics.Texture getFortress(int fortress)
-
getDeadFortress
public com.badlogic.gdx.graphics.Texture getDeadFortress(int fortress)
-
getFireStation
public com.badlogic.gdx.graphics.Texture getFireStation()
-
getFireStationDead
public com.badlogic.gdx.graphics.Texture getFireStationDead()
-
-