Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

InstantiationException EditorGUIController but the editor is not used #87

Open
meltzow opened this issue Jun 24, 2015 · 0 comments
Open

Comments

@meltzow
Copy link
Collaborator

meltzow commented Jun 24, 2015

currently the editor(view/ctrl etc) and the game(view/ctrl) is hard merged together. Because there are some things they are used together. Thats good for DRY (https://de.wikipedia.org/wiki/Don%E2%80%99t_repeat_yourself ) but bad if the user wants only playing or only starting the editor.
The GameMultiplayerAlien.java is a example only for starting a Game (without the Editor), it working but there is exception:

WARNUNG: class [controller.editor.EditorGUIController] could not be instantiated (java.lang.InstantiationException: controller.editor.EditorGUIController) Jun 24, 2015 8:13:20 PM de.lessvoid.nifty.screen.Screen <init> WARNUNG: Missing ScreenController for screen [editor] using DefaultScreenController() instead but this might not be what you want.

If we split this, there investigate why there is a package model.editor ? normally models/domains a for persistence. But inside this package there a classes like AtlasTool, Pencil or ToolManager. These classes are not saving/loading. So we need a refactoring here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant