Example #1
0
	void set(int id, Figure *fig, Texture *tex, Matrix3D *mtx, GCObject *userObj) {
		if (mtx) {mtx->retain();}
		if (fig) {fig->retain();}
		if (tex) {tex->retain();}
		if (userObj) {userObj->retain();}
		this->id = id;
		this->fig = fig;
		this->tex = tex;
		this->mtx = mtx;
		this->userObj = userObj;
	}