diff options
author | krzys-h <krzys_h@interia.pl> | 2013-05-19 16:56:08 +0200 |
---|---|---|
committer | krzys-h <krzys_h@interia.pl> | 2013-05-19 16:56:08 +0200 |
commit | 6b25608e698cc117ffeeaa6454bd6fc1a72fdc50 (patch) | |
tree | 37c34ebfbf70b3e49f8de985a7f77ad4c93a5203 /src/math | |
parent | b9d0ee034e1e0b78cbca137cc2f39930fb7ad127 (diff) | |
download | colobot-6b25608e698cc117ffeeaa6454bd6fc1a72fdc50.tar.gz colobot-6b25608e698cc117ffeeaa6454bd6fc1a72fdc50.tar.bz2 colobot-6b25608e698cc117ffeeaa6454bd6fc1a72fdc50.zip |
Added progfunc( funcname );
For simple creating of programs executing public functions :)
Example:
public void object::SecondBot()
{
message("It works!");
}
extern void object::FirstBot()
{
object item = radar(BotFactory);
item.factory(WheeledGrabber, progfunc("SecondBot"));
}
Diffstat (limited to 'src/math')
0 files changed, 0 insertions, 0 deletions