Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
ProgArkProject
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Sixten Müller
ProgArkProject
Merge requests
!18
Draft: Resolve "Create game model"
Code
Review changes
Check out branch
Download
Patches
Plain diff
Closed
Draft: Resolve "Create game model"
2-create-game-model
into
main
Overview
0
Commits
21
Pipelines
0
Changes
6
Closed
Sixten Müller
requested to merge
2-create-game-model
into
main
1 year ago
Overview
0
Commits
21
Pipelines
0
Changes
6
Expand
Closes
#2 (closed)
0
0
Merge request reports
Viewing commit
e4730d87
Prev
Next
Show latest version
6 files
+
165
−
1
Side-by-side
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
6
Search (e.g. *.vue) (Ctrl+P)
e4730d87
Created Word class and Category class
· e4730d87
Kristoffer Krogh Wetterhus
authored
1 year ago
core/src/com/wordbattle/game/model/Category.java
0 → 100644
+
26
−
0
Options
package
com.wordbattle.game.model
;
import
java.util.ArrayList
;
import
java.util.List
;
public
class
Category
{
private
String
name
;
private
List
<
Word
>
words
;
public
Category
(
String
name
)
{
this
.
name
=
name
;
this
.
words
=
new
ArrayList
<>();
}
public
String
getName
()
{
return
name
;
}
public
List
<
Word
>
getWords
()
{
return
words
;
}
public
void
addWord
(
Word
word
)
{
words
.
add
(
word
);
}
}
Loading