Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
HeroesVsMonsters
Manage
Activity
Members
Labels
Plan
Issues
4
Issue boards
Milestones
Wiki
Code
Merge requests
0
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
Group 13
HeroesVsMonsters
Merge requests
!28
Resolve "Display hero and projectiles"
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Resolve "Display hero and projectiles"
54-display-hero-and-projectiles
into
dev
Overview
0
Commits
6
Pipelines
0
Changes
7
Merged
Marcus Stephan Nordal
requested to merge
54-display-hero-and-projectiles
into
dev
1 year ago
Overview
0
Commits
6
Pipelines
0
Changes
7
Expand
Closes
#54 (closed)
0
0
Merge request reports
Compare
dev
version 1
67c0e32f
1 year ago
dev (base)
and
latest version
latest version
544b7135
6 commits,
1 year ago
version 1
67c0e32f
5 commits,
1 year ago
7 files
+
120
−
46
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
7
Search (e.g. *.vue) (Ctrl+P)
core/src/com/mygdx/game/components/HeroComponent.java
+
11
−
0
Options
@@ -5,9 +5,20 @@ import com.mygdx.game.types.HeroType;
public
class
HeroComponent
implements
Component
{
private
HeroType
heroType
;
private
boolean
projectileActive
;
public
boolean
isProjectileActive
()
{
return
projectileActive
;
}
public
void
setProjectileActive
(
boolean
projectileActive
)
{
this
.
projectileActive
=
projectileActive
;
}
public
HeroComponent
(
HeroType
heroType
)
{
this
.
heroType
=
heroType
;
this
.
projectileActive
=
false
;
}
public
HeroType
getHeroType
()
{
Loading