Update Night of Horror authored by Hong, Xin's avatar Hong, Xin
......@@ -6,6 +6,7 @@ title: Night of Horror
# Game Design Document
[TOC]
......@@ -309,7 +310,7 @@ title: Night of Horror
# Coding
## State Machine
'''csharp
~~~
public interface IState
{
public void Enter();
......@@ -321,7 +322,7 @@ public interface IState
public void PhysicsUpdate();
}
~~~
public abstract class StateMachine
{
protected IState currentState;
......
......