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