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