replace fishgoals with proper food look system
This commit is contained in:
parent
436d5f0301
commit
61d28a326f
7 changed files with 37 additions and 29 deletions
|
|
@ -50,8 +50,7 @@ function self.food(x, y, type)
|
|||
speed = 0.2,
|
||||
time = math.random(),
|
||||
deathtimer = 0,
|
||||
type = 1,
|
||||
goal = 0 -- assigns 0 as the fish so that hopefully the update loop replaces it with a valid, random one
|
||||
type = 1
|
||||
}
|
||||
|
||||
return food
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue