Skip to content

Comments

Implement Shooting for Monkeys Tasks:#14

Open
YashDevLogs wants to merge 3 commits intooutscal:Service_Locator_Setupfrom
YashDevLogs:Service_Locator_Setup
Open

Implement Shooting for Monkeys Tasks:#14
YashDevLogs wants to merge 3 commits intooutscal:Service_Locator_Setupfrom
YashDevLogs:Service_Locator_Setup

Conversation

@YashDevLogs
Copy link

Implement OntriggerEnter2D & OnTriggerExit2D methods in MonkeyView Maintained a List of bloons in range for monkeys.
Implemented BloonEnteredRange & BloonExitedRange in MonkeyController Implemented UpdateMonkey method inside MonkeyController.cs for making the monkey Rotate towards and Shoot bloons.

Implement OntriggerEnter2D & OnTriggerExit2D methods in MonkeyView
Maintained a List of bloons in range for monkeys.
Implemented BloonEnteredRange & BloonExitedRange in MonkeyController
Implemented UpdateMonkey method inside MonkeyController.cs for making the monkey Rotate towards and Shoot bloons.
Created a GameService.cs as Service Loator
Made Player Service a Non-MonoBehaviour
Defined Constructor for PlayerService
Created & maintaind an instance of PlayerService inside GameService
Add all Services in the game inside Service Locator (GameService.cs)
Converted all Services into a Non-MonoBehaviour class.
Defined a Constructor for all these services.
Resolved any dependencies from all of these services through GameService.
Updated references of all services by accessing them through Game Service.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant