fix more errata
continuous-integration/drone/push Build is passing Details

main
Evan Hemsley 2020-07-21 13:58:32 -07:00
parent 52665f4b1a
commit e94b59fcd2
2 changed files with 3 additions and 3 deletions

View File

@ -22,7 +22,7 @@ Let's put something in between them.
We have to ask ourselves: how is it that we want the game to react when we press the buttons? We want the correct paddle to move up or down. That seems like a good abstraction for a Message.
Create a file: **PongFE/Messages/PaddleMoveMessage.ts**
Create a file: **PongFE/Messages/PaddleMoveMessage.cs**
```cs
using Encompass;

View File

@ -51,7 +51,7 @@ namespace PongFE.Components
And let's add it to our paddle Entity.
In **PongFEGame.ts**
In **PongFEGame.cs**
```cs
...
@ -93,7 +93,7 @@ Now let's tell our InputEngine to use it, and why don't we go ahead and make the
SendMessage(
new MotionMessage(
playerInputEntity,
new System.Numerics.Vector2(0, paddleSpeed * (float)dt)
new System.Numerics.Vector2(0, -paddleSpeed * (float)dt)
)
);
}