From c0c369aee72798266f9db9363d0a08b70ee39106 Mon Sep 17 00:00:00 2001 From: Evan Hemsley Date: Tue, 21 Jul 2020 15:07:10 -0700 Subject: [PATCH] another copy tweak --- content/pong/move_paddle/input_handling.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/pong/move_paddle/input_handling.md b/content/pong/move_paddle/input_handling.md index 5ccafd7..c94803e 100644 --- a/content/pong/move_paddle/input_handling.md +++ b/content/pong/move_paddle/input_handling.md @@ -68,7 +68,7 @@ namespace PongFE.Components ``` -Why an *enum* instead of just an integer or something? When we write programs it is very easy to shoot ourselves in the foot. What if someone accidentally typed -1 in as a value or something? Enums structure our data to make it harder for us to make silly mistakes like this. +Why an *enum* instead of just an integer or something? When we write programs it is very easy to shoot ourselves in the foot. What if someone accidentally typed -1 in as a value or something? Enums structure our data to make it harder for us to make silly mistakes like this, and we can give them clear names that tell us what kind of thing they are. Let's add this component to our paddle entity.