Created class for Blue Normals.

removed the static option in Entity.java, which should correct some bugs.
This commit is contained in:
no 2021-06-15 22:30:35 +02:00
parent f3ab1e4c4d
commit b95fb758b6
2 changed files with 16 additions and 3 deletions

View 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 {
}

View File

@ -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) {