Skip to content

Timed Game Tokens: Powerups, UFOs, etc. #39

@antfarmar

Description

@antfarmar

Currently there exists 2 types of randomly spawned "timed" game tokens: powerups & UFOs. More could be added in the future, so the implementation design & architecture should be clean, clear, solid & robust.

Though these varying tokens seem disparate in nature (friend vs. enemy), they mostly share common game functionality and should be implemented and handled as such. There are various ways to go about this...

Possible Implementations

  1. Define a base class of TimedToken : GameToken that defines/implements their behaviour.
  2. As standard game tokens, but let a SpawnManager handle the details of timing/spawning.
  3. A combination of 1 & 2.
  4. ???

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions