parent
37ebdb5145
commit
1516fc3916
@ -1,8 +1,38 @@
|
||||
package model;
|
||||
|
||||
import javafx.fxml.FXMLLoader;
|
||||
import javafx.scene.Parent;
|
||||
import javafx.scene.Scene;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.io.InputStream;
|
||||
|
||||
/**
|
||||
* Created by fwy13 on 4/04/17.
|
||||
*/
|
||||
public enum SceneCode {
|
||||
MAIN()
|
||||
MAIN("main", false);
|
||||
|
||||
private String path;
|
||||
private boolean loadMenu;
|
||||
public static int prefWidth = 1200;
|
||||
public static int prefHeight = 900;
|
||||
|
||||
SceneCode(String path){
|
||||
this(path, true);
|
||||
}
|
||||
|
||||
SceneCode(String path, boolean loadMenu){
|
||||
this.path = path;
|
||||
this.loadMenu = loadMenu;
|
||||
}
|
||||
|
||||
public String getPath() {
|
||||
return path;
|
||||
}
|
||||
|
||||
public boolean isLoadMenu() {
|
||||
return loadMenu;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@ -0,0 +1,13 @@
|
||||
package model;
|
||||
|
||||
/**
|
||||
* Created by fwy13 on 4/04/17.
|
||||
*/
|
||||
public class Session {
|
||||
|
||||
private String userCode;//this is like fwy13
|
||||
|
||||
public Session(){
|
||||
|
||||
}
|
||||
}
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in new issue