Skip to content

Commit

Permalink
update spawn-and-moves example
Browse files Browse the repository at this point in the history
  • Loading branch information
remybar committed Feb 19, 2025
1 parent 25ddfc6 commit 50b8d8b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/spawn-and-move/Scarb.lock
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ dependencies = [

[[package]]
name = "dojo_examples"
version = "1.2.0"
version = "1.2.1"
dependencies = [
"armory",
"bestiary",
Expand Down
3 changes: 2 additions & 1 deletion examples/spawn-and-move/src/models.cairo
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
use starknet::ContractAddress;

#[derive(Serde, Copy, Drop, Introspect, PartialEq, Debug)]
#[derive(Serde, Copy, Drop, Introspect, PartialEq, Debug, Default)]
pub enum Direction {
#[default]
None,
Left,
Right,
Expand Down

0 comments on commit 50b8d8b

Please sign in to comment.