Created class for Blue Normals.
removed the static option in Entity.java, which should correct some bugs.
This commit is contained in:
parent
f3ab1e4c4d
commit
b95fb758b6
13
src/gameplay/Characters/Blue/BlueNormals.java
Normal file
13
src/gameplay/Characters/Blue/BlueNormals.java
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
package gameplay.Characters.Blue;
|
||||||
|
|
||||||
|
import engine.Engine;
|
||||||
|
import engine.math.Vector3f;
|
||||||
|
import engine.object.Hitbox;
|
||||||
|
import engine.object.ObjectGl;
|
||||||
|
import gameplay.frames.Frame;
|
||||||
|
import gameplay.hitboxes.*;
|
||||||
|
|
||||||
|
|
||||||
|
public class BlueNormals {
|
||||||
|
|
||||||
|
}
|
@ -14,7 +14,7 @@ public class Entity {
|
|||||||
private int posx;
|
private int posx;
|
||||||
private int posy;
|
private int posy;
|
||||||
|
|
||||||
private static nextFrameBuffer frames;
|
private nextFrameBuffer frames;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* base constructor of the entity class
|
* base constructor of the entity class
|
||||||
@ -53,8 +53,8 @@ public class Entity {
|
|||||||
|
|
||||||
public Frame getCurrentframe() {return this.frames.getCurrentFrame();}
|
public Frame getCurrentframe() {return this.frames.getCurrentFrame();}
|
||||||
|
|
||||||
public static nextFrameBuffer getFrames() {
|
public nextFrameBuffer getFrames() {
|
||||||
return frames;
|
return this.frames;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setFrames(nextFrameBuffer nextFrames) {
|
public void setFrames(nextFrameBuffer nextFrames) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user