mirror of
https://github.com/brmlab/brmlife.git
synced 2025-08-02 18:03:37 +02:00
Introduce sun energy (on-tick gain)
This commit is contained in:
parent
158ab85715
commit
296f4148d3
2 changed files with 2 additions and 0 deletions
1
agent.cc
1
agent.cc
|
@ -42,6 +42,7 @@ agent::on_action_takes(void)
|
|||
void
|
||||
agent::on_tick(void)
|
||||
{
|
||||
energy += world::sun_energy;
|
||||
}
|
||||
|
||||
void
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue