Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Team 2] Tower entity creation #6

Closed
6 tasks done
Mohamad11Dab opened this issue Aug 11, 2023 · 4 comments
Closed
6 tasks done

[Team 2] Tower entity creation #6

Mohamad11Dab opened this issue Aug 11, 2023 · 4 comments
Assignees
Labels
Milestone

Comments

@Mohamad11Dab
Copy link
Contributor

Mohamad11Dab commented Aug 11, 2023

Description

Task: Create Tower Entity. (#6).
Feature: Tower Feature Ticket (#5)

The task involves the creation of a Tower entity designed to serve as a defense structure within the game. This tower will be responsible for protecting the engineers by eliminating the aliens. The Tower will be stationed on specific tiles that are marked unavailable for other use. Interactions with the tower, such as its deployment or upgrades (for future sprints), will be facilitated through the game's user interface. The entity will have specified health, and its establishment or upgrade will lead to a deduction of in-game cash.

Example (optional)

Functionality: Players will have the option to place the tower on certain tiles to safeguard the engineers & resources. This tower will automatically target and attack alien invaders within its range.

Dependencies

Milestones

List of steps that need to be completed for this task.

  • Collaborate with the map team & economy team to understand the tile marking system and economy management system (Aug. 22)
  • Collaborate with projectile team to integrate tower with projectile (Aug 22)
  • Implement the Tower entity with the desired attributes and functionalities (Aug. 24)
  • Testing and documentation of the implemented tower entity and its associated mechanisms (Aug. 28)

Completion Deadline: Aug. 29

Documentation

Member

@Mohamad11Dab Mohamad11Dab added this to the Sprint 1 milestone Aug 11, 2023
@shiv-0831 shiv-0831 added the enhancement New feature or request label Aug 11, 2023
@shiv-0831 shiv-0831 changed the title Tower entity creation [Team 2] Tower entity creation Aug 11, 2023
@Mohamad11Dab
Copy link
Contributor Author

updated some dependencies (tagged the relevant tickets )

@Mohamad11Dab
Copy link
Contributor Author

I've developed the TowerFactory class which includes a base function to produces a standard tower entity, intended to serve as a foundational entity for more specialized tower creation processes. I've also integrated the CostComponent to cater to entities requiring cost allocation, typically for towers. Additionally, I've set up blank files: baseTowerConfigs (located at: entities/configs) and tower.json, which are earmarked for storing tower properties and subsequently loading them into TowerFactory. For a comprehensive understanding of configuration, please refer to the "Configuring Entities" section on the wiki.

@Mohamad11Dab
Copy link
Contributor Author

Added JUnit tests for TowerFactoryTest and CostComponentTest

@Mohamad11Dab
Copy link
Contributor Author

All tasks are done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Development

No branches or pull requests

3 participants