Pol  Revision:cb584c9
mkscrobj.cpp
Go to the documentation of this file.
1 
7 #include "mkscrobj.h"
8 #include "uoscrobj.h"
9 
10 namespace Pol
11 {
12 namespace Core
13 {
15 {
16  return new Module::ECharacterRefObjImp( chr );
17 }
18 
20 {
21  return new Module::EItemRefObjImp( item );
22 }
23 
25 {
26  return new Module::EUBoatRefObjImp( boat );
27 }
28 }
29 }
Bscript::BObjectImp * make_itemref(Items::Item *item)
Definition: mkscrobj.cpp:19
Bscript::BObjectImp * make_boatref(Multi::UBoat *boat)
Definition: mkscrobj.cpp:24
Bscript::BObjectImp * make_mobileref(Mobile::Character *chr)
Definition: mkscrobj.cpp:14
Definition: berror.cpp:12