This commit is contained in:
parent
b8ab5fb31e
commit
2145a8d6c7
9 changed files with 96 additions and 37 deletions
|
@ -87,20 +87,6 @@ void CLevelExitTrigger::render()
|
|||
}
|
||||
#endif
|
||||
|
||||
/*----------------------------------------------------------------------
|
||||
Function:
|
||||
Purpose:
|
||||
Params:
|
||||
Returns:
|
||||
---------------------------------------------------------------------- */
|
||||
void CLevelExitTrigger::setExitPosition(int _x,int _y,int _w,int _h)
|
||||
{
|
||||
Pos.vx=_x+(_w/2);
|
||||
Pos.vy=_y+(_h/2);
|
||||
setCollisionSize(_w,_h);
|
||||
}
|
||||
|
||||
|
||||
/*----------------------------------------------------------------------
|
||||
Function:
|
||||
Purpose:
|
||||
|
@ -116,6 +102,5 @@ void CLevelExitTrigger::collidedWith(CThing *_thisThing)
|
|||
#endif
|
||||
}
|
||||
|
||||
|
||||
/*===========================================================================
|
||||
end */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue