void CSunRaise::OnLClick(UINT nFlags, CPoint point) { if (IsDisable()) return; int x = rand() % 500; int y = rand() % 500; SetDrawPos(x, y); }
void Unitenemy::SetUnitlistPos(Vec2i getpos){ unitlist->pos = getpos; SetDrawPos(getpos); }