#897 closed defect (fixed)
javascript common api
Reported by: | lexa | Owned by: | |
---|---|---|---|
Priority: | Nice to Have | Milestone: | Alpha 7 |
Component: | UI & Simulation | Keywords: | scripting |
Cc: | Patch: |
Change History (5)
comment:1 by , 13 years ago
comment:2 by , 13 years ago
Priority: | Must Have → Nice to Have |
---|
The parameter name doesn't matter in JS, state
looks like what we're wanting to call it.
comment:3 by , 13 years ago
That's a different OnUpdate
for different scripts - AI and component scripts are almost completely independent and unrelated.
common-api
is meant to provide a layer of abstraction on top of the state
data, so I think it's better not to pass it to OnUpdate
at all.
comment:4 by , 13 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:5 by , 13 years ago
Milestone: | Backlog → Alpha 7 |
---|
Note:
See TracTickets
for help on using tickets.
Ok, maybe I was wrong Here it says that OnUpdate takes a message as a parameter... http://svn.wildfiregames.com/docs/writing-components.html