Class SkillTreeScreen

java.lang.Object
com.badlogic.gdx.ScreenAdapter
com.csse3200.game.screens.SkillTreeScreen
All Implemented Interfaces:
com.badlogic.gdx.Screen

public class SkillTreeScreen extends com.badlogic.gdx.ScreenAdapter
The screen that displays the Skill Tree and handles skill unlocking mechanics. Provides UI for skill buttons, shows skill points, and handles user interaction. It integrates with game services, rendering, input, and entity systems.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected static final com.badlogic.gdx.scenes.scene2d.ui.Skin
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    Constructs a SkillTreeScreen, initializing all necessary services and rendering components.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    void
    render(float delta)
     
    void
    resize(int width, int height)
     

    Methods inherited from class com.badlogic.gdx.ScreenAdapter

    hide, pause, resume, show

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • skin

      protected static final com.badlogic.gdx.scenes.scene2d.ui.Skin skin
  • Constructor Details

    • SkillTreeScreen

      public SkillTreeScreen(GdxGame game)
      Constructs a SkillTreeScreen, initializing all necessary services and rendering components.
      Parameters:
      game - the main game instance
  • Method Details

    • render

      public void render(float delta)
      Specified by:
      render in interface com.badlogic.gdx.Screen
      Overrides:
      render in class com.badlogic.gdx.ScreenAdapter
    • resize

      public void resize(int width, int height)
      Specified by:
      resize in interface com.badlogic.gdx.Screen
      Overrides:
      resize in class com.badlogic.gdx.ScreenAdapter
    • dispose

      public void dispose()
      Specified by:
      dispose in interface com.badlogic.gdx.Screen
      Overrides:
      dispose in class com.badlogic.gdx.ScreenAdapter