This commit is contained in:
parent
3e85e3fb21
commit
0700ee58fe
11 changed files with 69 additions and 22 deletions
|
@ -881,10 +881,12 @@ void CTriggerThing::setPositionAndSize(int _x,int _y,int _w,int _h)
|
|||
Params:
|
||||
Returns:
|
||||
---------------------------------------------------------------------- */
|
||||
void CTriggerThing::setTargetPos(int _x,int _y)
|
||||
void CTriggerThing::setTargetBox(int _x,int _y,int _w,int _h)
|
||||
{
|
||||
TargetPos.vx=_x;
|
||||
TargetPos.vy=_y;
|
||||
m_boxX1=_x;
|
||||
m_boxY1=_y;
|
||||
m_boxX2=_x+_w;
|
||||
m_boxY2=_y+_h;
|
||||
}
|
||||
|
||||
/*===========================================================================
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue