class Camera : public GameObject, public Serializable, public ScriptInterface
{
public:
- Camera(Sector* sector);
+ Camera(Sector* sector, std::string name = "");
virtual ~Camera();
/// parse camera mode from lisp file
{
}
- virtual void expose(HSQUIRRELVM vm, int table_idx);
- virtual void unexpose(HSQUIRRELVM vm, int table_idx);
+ virtual void expose(HSQUIRRELVM vm, SQInteger table_idx);
+ virtual void unexpose(HSQUIRRELVM vm, SQInteger table_idx);
// shake camera in a direction 1 time
void shake(float speed, float x, float y);
};
#endif /*SUPERTUX_CAMERA_H*/
-