A Megaman fangame that merges Megaman characters + enemies in a Pokemon RPG-style game.
Megamon/Megamon-core/src/sig/megamon/Object.java

29 lines
555 B

package sig.megamon;
import java.awt.geom.Point2D;
import com.badlogic.gdx.graphics.Texture;
public class Object {
Point2D.Double position;
Texture sprite;
boolean passable=false;
public Object(String sprite_img, Point2D.Double position) {
this(sprite_img,position,false);
}
public Object(String sprite_img, Point2D.Double position, boolean passable) {
this.sprite = new Texture(sprite_img);
this.position = position;
this.passable = passable;
}
public void run() {
}
public void draw() {
}
}