Package com.prineside.tdi2
Class Projectile.Factory<T extends Projectile>
java.lang.Object
com.prineside.tdi2.Projectile.Factory<T>
- All Implemented Interfaces:
com.badlogic.gdx.utils.Disposable
- Direct Known Subclasses:
AirProjectile.AirProjectileFactory
,BasicProjectile.BasicProjectileFactory
,BuffProjectile.BuffProjectileFactory
,BulletWallProjectile.MultishotProjectileFactory
,CannonProjectile.CannonProjectileFactory
,ChainLightningProjectile.ChainLightningProjectileFactory
,LaserProjectile.LaserProjectileFactory
,MissileProjectile.MissileProjectileFactory
,MultishotProjectile.MultishotProjectileFactory
,SplashProjectile.SplashProjectileFactory
,SplinterProjectile.SplinterProjectileFactory
,VenomProjectile.VenomProjectileFactory
- Enclosing class:
- Projectile
public abstract static class Projectile.Factory<T extends Projectile>
extends Object
implements com.badlogic.gdx.utils.Disposable
-
Constructor Details
-
Factory
public Factory()
-
-
Method Details
-
setup
public void setup()Вызывается, когда объекты всех Managers созданы -
setupAssets
public void setupAssets() -
clearPool
public void clearPool() -
obtain
-
free
-
clearPools
public void clearPools() -
dispose
public void dispose()Description copied from interface:com.badlogic.gdx.utils.Disposable
Releases all resources of this object.- Specified by:
dispose
in interfacecom.badlogic.gdx.utils.Disposable
-