Class ComputerTerminalFactory
java.lang.Object
com.csse3200.game.entities.factories.ComputerTerminalFactory
Factory for creating computer terminal entities with visuals, physics,
interaction tooltip, and terminal behaviour pre-wired.
-
Method Summary
Modifier and TypeMethodDescriptionstatic EntityBuilds a terminal entity that: Renders an animated monitor from an atlas Has a static physics body with a sensor collider Shows a tooltip prompting the player to press E Emits interaction events via ComputerTerminalComponent
-
Method Details
-
createTerminal
Builds a terminal entity that: Renders an animated monitor from an atlas Has a static physics body with a sensor collider Shows a tooltip prompting the player to press E Emits interaction events via ComputerTerminalComponent- Returns:
- a fully configured terminal entity
-