All Downloads are FREE. Search and download functionalities are using the official Maven repository.

engine.graphics.MarioGraphics Maven / Gradle / Ivy

package engine.graphics;

import java.awt.Graphics;

public abstract class MarioGraphics {
    public boolean visible;
    public float alpha;
    public int originX, originY;
    public boolean flipX, flipY;
    public int width, height;

    public MarioGraphics() {
        this.visible = true;
        this.alpha = 1;
        this.originX = this.originY = 0;
        this.flipX = this.flipY = false;
        this.width = this.height = 32;
    }

    public abstract void render(Graphics og, int x, int y);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy