My first RPG game made with java. It was a great experience.
// Decompiled by Procyon v0.5.36
graph TD;
App-->MenuScreen;
App-->LoadingScreen;
App-->ErrorScreen;
App-->GameScreen;
App-->KeyboardManager;
App-->MouseManager;
GameScreen-->GameWorld;
GameScreen-->GameCamera;
GameScreen-->GameMap;
GameWorld-->EntityManager;
Every children does not have direct access to their parent.
They have access to the App
and from the App
they have access to their parent.
graph TD;
Entity-->MovingEntity;
Entity-->StaticEntity;
MovingEntity-->Animal;
MovingEntity-->WeaponOut;
Animal-->Player;
Animal-->Enemy;