This commit is contained in:
2024-07-03 16:38:29 -05:00
parent fa83aabd5f
commit e6450b8981
100 changed files with 3321 additions and 504 deletions

34
docs/api/actor.md Normal file
View File

@@ -0,0 +1,34 @@
# actor
#### spawn(script, config, callback)
Create a new actor, using this actor as the master, initializing it with 'script' and with data (as a JSON or Nota file) from 'config'.
#### rm_pawn(pawn)
#### timers
**array**
[]
#### kill()
Remove this actor and all its padawans from existence.
#### interval(fn, seconds)
#### delay(fn, seconds)
Call 'fn' after 'seconds' with 'this' set to the actor.
#### padawans
**array**
[
{}
]