mirror of
https://github.com/jwinterm/SpaceShooter.git
synced 2026-10-18 06:01:37 +02:00
14 lines
503 B
Java
14 lines
503 B
Java
package com.spaceshooter;
|
|
import com.badlogic.gdx.graphics.Texture;
|
|
import com.badlogic.gdx.graphics.g2d.Sprite;
|
|
import com.badlogic.gdx.graphics.g2d.SpriteBatch;
|
|
|
|
public abstract class Bullet extends Sprite {
|
|
public Bullet(String filepath) {
|
|
super(ResourceManager.getAssetManager().get(filepath,Texture.class));
|
|
}
|
|
public Bullet() {
|
|
super(ResourceManager.getAssetManager().get(ResourceManager.Bullet,Texture.class));
|
|
}
|
|
abstract void updateBullet(SpriteBatch batch, EnemyManager enemyManager);
|
|
} |