Changes
Page history
Update Night of Horror
authored
Nov 25, 2024
by
Hong, Xin
Show whitespace changes
Inline
Side-by-side
home.md
View page @
3dde5560
...
@@ -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
{
{
...
...
...
...