Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
VKR_Diagrams
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Степаненко Артём Кириллович
VKR_Diagrams
Commits
d2ccd0af
Commit
d2ccd0af
authored
Apr 11, 2024
by
Степаненко Артём Кириллович
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Upload New File
parent
1822406a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
59 additions
and
0 deletions
+59
-0
GameProgram.java
Codes/GameProgram.java
+59
-0
No files found.
Codes/GameProgram.java
0 → 100644
View file @
d2ccd0af
import
java.util.Vector
;
public
class
GameProgram
{
public
currentState
;
public
currentLevel
;
/**
*
* @element-type Instruction
*/
public
Vector
shows
;
/**
*
* @element-type GameLevel
*/
public
Vector
selects
;
public
Vector
myGameState
;
public
GameState
myGameState
;
/**
*
* @element-type GameObject
*/
public
Vector
displays
;
public
Inventory
displays
;
public
PlayerCharacter
displays
;
public
void
startLevel
(
GameLevel
)
{
}
public
void
endLevel
()
{
}
public
void
displayObject
(
GameObject
)
{
}
public
void
hideObject
(
GameObject
)
{
}
public
void
displayPlayerCharacter
(
PlayerCharacter
)
{
}
public
void
showInstruction
(
Instruction
)
{
}
public
void
displayProgress
(
GameState
)
{
}
public
void
displayInventory
(
Inventory
)
{
}
public
void
hideInventory
(
Inventory
)
{
}
public
void
displayResult
()
{
}
}
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment