Skip to content
Snippets Groups Projects

Resolve "Display hero and projectiles"

Merged Marcus Stephan Nordal requested to merge 54-display-hero-and-projectiles into dev
7 files
+ 120
46
Compare changes
  • Side-by-side
  • Inline
Files
7
@@ -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