|
@@ -149,7 +149,7 @@ Now we'll make a new component, `BlocksTile`. You should know the drill by now;
|
|
|
```rust
|
|
|
#[derive(Component, Debug)]
|
|
|
pub struct BlocksTile {}
|
|
|
-```rust
|
|
|
+```
|
|
|
|
|
|
Then register it in `main.rs`: `gs.ecs.register::<BlocksTile>();`
|
|
|
|
|
@@ -759,4 +759,4 @@ That was quite the chapter! We added in location indexing, damage, and killing t
|
|
|
|
|
|
Copyright (C) 2019, Herbert Wolverson.
|
|
|
|
|
|
----
|
|
|
+---
|