super because changed entity
parent
c0cba79892
commit
083bfa11ce
|
|
@ -6,6 +6,7 @@ import MAndApps.apps.spacewars.entity.bullet.PlayerImpactBullet;
|
||||||
import MAndApps.apps.spacewars.entity.bullet.PlayerPiercingBullet;
|
import MAndApps.apps.spacewars.entity.bullet.PlayerPiercingBullet;
|
||||||
|
|
||||||
public abstract class Bullet extends Entity {
|
public abstract class Bullet extends Entity {
|
||||||
|
|
||||||
//these are the bullet identities. i think its fairly self explanatory..
|
//these are the bullet identities. i think its fairly self explanatory..
|
||||||
//public static final int NAME_OF_BULLET_TYPE = some_number_not_being_used_as_another_id;
|
//public static final int NAME_OF_BULLET_TYPE = some_number_not_being_used_as_another_id;
|
||||||
public static final int BASIC = 0;
|
public static final int BASIC = 0;
|
||||||
|
|
@ -31,7 +32,9 @@ public abstract class Bullet extends Entity {
|
||||||
public static final int PLAYER_IMPACT_TEN = 30;
|
public static final int PLAYER_IMPACT_TEN = 30;
|
||||||
public static final int PLAYER_GODMODE = 31;
|
public static final int PLAYER_GODMODE = 31;
|
||||||
public Bullet(int x, int y, int width, int height) {
|
public Bullet(int x, int y, int width, int height) {
|
||||||
super(x, y, width, height);
|
super.x = x;
|
||||||
|
super.y = y;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue