Delete GameObject.java
This commit is contained in:
parent
6bd6f07bc2
commit
c7c3cb8e19
@ -1,43 +0,0 @@
|
||||
package com.iluwater.component;
|
||||
|
||||
import java.util.ArrayList;
|
||||
|
||||
public class GameObject {
|
||||
public int velocity;
|
||||
public int positionOFx;
|
||||
public int positionOFy;
|
||||
ArrayList<Component> componentArrayList;
|
||||
public GameObject(ArrayList<Component> componentArrayList){
|
||||
this.componentArrayList = componentArrayList;
|
||||
}
|
||||
|
||||
public void setVelocity(int velocity) {
|
||||
this.velocity = velocity;
|
||||
}
|
||||
|
||||
public int getVelocity() {
|
||||
return velocity;
|
||||
}
|
||||
|
||||
public void setPositionOFx(int positionOFx) {
|
||||
this.positionOFx = positionOFx;
|
||||
}
|
||||
|
||||
public int getPositionOFx() {
|
||||
return positionOFx;
|
||||
}
|
||||
|
||||
public void setPositionOFy(int positionOFy) {
|
||||
this.positionOFy = positionOFy;
|
||||
}
|
||||
|
||||
public int getPositionOFy() {
|
||||
return positionOFy;
|
||||
}
|
||||
|
||||
public void update(){
|
||||
for (Component component : componentArrayList) {
|
||||
component.update(this);
|
||||
}
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user