[REF] main: Removed unnecessary struct defintion
This commit is contained in:
parent
a1983d9493
commit
5f9ebb9ba9
1 changed files with 4 additions and 4 deletions
|
|
@ -55,10 +55,10 @@ const (
|
||||||
)
|
)
|
||||||
|
|
||||||
var MOVEMENTS = []Vector2{
|
var MOVEMENTS = []Vector2{
|
||||||
Vector2{0, -1},
|
{0, -1},
|
||||||
Vector2{1, 0},
|
{1, 0},
|
||||||
Vector2{0, 1},
|
{0, 1},
|
||||||
Vector2{-1, 0},
|
{-1, 0},
|
||||||
}
|
}
|
||||||
|
|
||||||
func addVectors(a Vector2, b Vector2) Vector2 {
|
func addVectors(a Vector2, b Vector2) Vector2 {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue