Skip to content
This repository has been archived by the owner on May 13, 2023. It is now read-only.

Implement non-player entities #18

Open
1 of 5 tasks
Azuelle opened this issue Apr 4, 2023 · 0 comments
Open
1 of 5 tasks

Implement non-player entities #18

Azuelle opened this issue Apr 4, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request gamestate Associated with gamestates major Very important, a large amount of work

Comments

@Azuelle
Copy link
Owner

Azuelle commented Apr 4, 2023

The foundations have already been laid in 71fea26.
Entities have a base class Entity which derives into Bomb, PowerUp, Traps, etc. (add more when new entity types are needed, maybe barricade?), each can be assigned to different persons if needed.
Each entity instance has a timer and a onDeath() function (differs from type to type) which determines when it "dies" and what it does then, e. g. Bombs explode and kill other entity in range.

Current Progress

  • Base type Entity
  • Bomb
  • Barricade
  • PowerUp
  • Trap
@Azuelle Azuelle added enhancement New feature or request gamestate Associated with gamestates labels Apr 4, 2023
@Azuelle Azuelle changed the title Implement items Implement non-player entities Apr 4, 2023
@Azuelle Azuelle self-assigned this Apr 4, 2023
@Azuelle Azuelle changed the title Implement non-player entities Implement non-player entities: Base entity type Apr 4, 2023
@Azuelle Azuelle changed the title Implement non-player entities: Base entity type Implement non-player entities Apr 4, 2023
@Azuelle Azuelle added the major Very important, a large amount of work label Apr 4, 2023
@kxwhiowo kxwhiowo self-assigned this Apr 11, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request gamestate Associated with gamestates major Very important, a large amount of work
Projects
None yet
Development

No branches or pull requests

2 participants