Pushing all changes
This commit is contained in:
@@ -29,4 +29,12 @@ class Planet
|
||||
end
|
||||
return false
|
||||
end
|
||||
|
||||
# Incriment the planet. Used to add resources to the Player's global resource
|
||||
# storage
|
||||
def tick
|
||||
if !@owner.nil?
|
||||
@oener.add_resources({@resource => @prod_rate})
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user