Difference between revisions of "Energy"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
When a function is called it uses energy, when an object runs out of energy all scripts inside it stop executing. Energy slowly returns to an object over time. | When a function is called it uses energy, when an object runs out of energy all scripts inside it stop executing. Energy slowly returns to an object over time. | ||
Please describe how it works! Answer at least the following questions: | |||
- What's the energy content of an object? | |||
- Is it possible to calculate the energy consumption of an action, e.g., running a script; | |||
- When the energy is consumed how much time does it take to build it up again? | |||
- During the energy build-up can we execute all actions needing less energy than the enerfy available? |
Revision as of 09:02, 19 February 2007
When a function is called it uses energy, when an object runs out of energy all scripts inside it stop executing. Energy slowly returns to an object over time.
Please describe how it works! Answer at least the following questions: - What's the energy content of an object? - Is it possible to calculate the energy consumption of an action, e.g., running a script; - When the energy is consumed how much time does it take to build it up again? - During the energy build-up can we execute all actions needing less energy than the enerfy available?