forked from fauvet/API_BUT5.5
Added methods and class used for bookmarks
This commit is contained in:
parent
1c2ca7a251
commit
45f9899994
3
.idea/.gitignore
generated
vendored
Normal file
3
.idea/.gitignore
generated
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
# Default ignored files
|
||||
/shelf/
|
||||
/workspace.xml
|
9
.idea/libraries/API_BUT5_5.xml
generated
Normal file
9
.idea/libraries/API_BUT5_5.xml
generated
Normal file
@ -0,0 +1,9 @@
|
||||
<component name="libraryTable">
|
||||
<library name="API_BUT5.5">
|
||||
<CLASSES>
|
||||
<root url="jar://$PROJECT_DIR$/out/artifacts/API_BUT5_5_jar/API_BUT5.5.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES />
|
||||
</library>
|
||||
</component>
|
6
.idea/misc.xml
generated
Normal file
6
.idea/misc.xml
generated
Normal file
@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="ProjectRootManager" version="2" project-jdk-name="21" project-jdk-type="JavaSDK">
|
||||
<output url="file://$PROJECT_DIR$/out" />
|
||||
</component>
|
||||
</project>
|
8
.idea/modules.xml
generated
Normal file
8
.idea/modules.xml
generated
Normal file
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="ProjectModuleManager">
|
||||
<modules>
|
||||
<module fileurl="file://$PROJECT_DIR$/API_BUT5.5.iml" filepath="$PROJECT_DIR$/API_BUT5.5.iml" />
|
||||
</modules>
|
||||
</component>
|
||||
</project>
|
6
.idea/vcs.xml
generated
Normal file
6
.idea/vcs.xml
generated
Normal file
@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="VcsDirectoryMappings">
|
||||
<mapping directory="" vcs="Git" />
|
||||
</component>
|
||||
</project>
|
@ -63,4 +63,44 @@ public interface Plateau {
|
||||
*/
|
||||
void undoPly(Ply ply);
|
||||
|
||||
|
||||
/**
|
||||
* Used to verify if the Situation is already in the bookmarks
|
||||
*
|
||||
* @throws UnsupportedOperationException if the method is not yet implemented
|
||||
*
|
||||
* @return the answer
|
||||
*/
|
||||
default boolean isAlreadyDone(){
|
||||
throw new UnsupportedOperationException("Feature not yet implemented");
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Used to check the value of the current Situation
|
||||
*
|
||||
* @throws UnsupportedOperationException if the method is not yet implemented
|
||||
*
|
||||
* @throws IllegalStateException if the Situation is not in the bookmarks
|
||||
*
|
||||
* @return the value
|
||||
*/
|
||||
default int getSituationValue(){
|
||||
throw new UnsupportedOperationException("Feature not yet implemented");
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Used to add a Situation to the bookmarks
|
||||
*
|
||||
* @throws UnsupportedOperationException if the method is not yet implemented
|
||||
*
|
||||
* @throws IllegalStateException if the Situation is already in the bookmarks
|
||||
*/
|
||||
default void addSituation(){
|
||||
throw new UnsupportedOperationException("Feature not yet implemented");
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
4
src/fr/iut_fbleau/raw_api_body/entity/Situation.java
Normal file
4
src/fr/iut_fbleau/raw_api_body/entity/Situation.java
Normal file
@ -0,0 +1,4 @@
|
||||
package fr.iut_fbleau.raw_api_body.entity;
|
||||
|
||||
public abstract class Situation {
|
||||
}
|
Loading…
Reference in New Issue
Block a user