Skip to content

Latest commit

 

History

History
28 lines (22 loc) · 484 Bytes

README.md

File metadata and controls

28 lines (22 loc) · 484 Bytes

Usage

mkdir myproject
cd myproject
git init
git submodule add [email protected]:moddedTechnic/GameArenaAdvanced.git game_arena
vim Main.java

You can add the following to Main.java:

import game_arena.*;

class Main {
    public static void main(String[] args) {
        GameArena arena = new GameArena(500, 300);
        Ball b = new Ball(250, 150, 20, "GREEN");
        arena.addBall(b);

        while (true) {
            arena.pause();
        }
    }
}