Question
Create a Simplistic FSM Diagram for an NPC of your game with
Create a Simplistic FSM Diagram for an NPC of your game with <= 5 states (you can use a tool like Visio etc; or you can doodle it and scan/take a photo of it). (2 pts)
Translate the above diagram into a State-Condition-Transition table (in an Excel doc). (2 pts)
Implement it similarly to NPCController (Simple FSM) (use an enum for states and a switch). Implement as much as you can from the Actions you have decided to use in each of the states.
(3 pts) Implement it similarly as NPCControl (Class-based FSM), using the class FSMSystem and separate classes for each state (use an enum for states and a switch).
Implement as much as you can from the Actions you have decided to use in each of the states. (3 pts)
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started