Completed State Machine Class for Dynamic Game Objects