another copy tweak
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
3805de74f4
commit
c0c369aee7
|
@ -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.
|
||||
|
||||
|
|
Loading…
Reference in New Issue