Moved data classes to own directory.

This commit is contained in:
WickedJack99
2023-12-04 01:28:19 +01:00
parent 1e45a6db07
commit 3a424c1faa
3 changed files with 23 additions and 10 deletions

View File

@@ -1,9 +0,0 @@
/**
* @author Aaron Moser
* @date 01.12.2023
*/
package controller.src;
public class ViewToControllerData {
}

View File

@@ -2,7 +2,7 @@
* @author Aaron Moser
* @date 01.12.2023
*/
package controller.src;
package data.src;
public class ControllerToViewData {

View File

@@ -0,0 +1,22 @@
/**
* @author Aaron Moser
* @date 01.12.2023
*/
package data.src;
public class ViewToControllerData {
public static enum ViewEvent {
QuitApplication,
ConnectToServerButtonWasPressed,
}
private ViewEvent viewEvent;
public void setViewEvent(ViewEvent viewEvent) {
this.viewEvent = viewEvent;
}
public ViewEvent getViewEvent() {
return this.viewEvent;
}
}