23 {
24 super.OnDoubleClick(w,
x,
y, button);
25
26 vector screen_to_map = MapWidget.Cast(w).ScreenToMap(
Vector(
x,
y,0));
27 MapMenu m = MapMenu.Cast(
g_Game.GetUIManager().FindMenu(
MENU_MAP));
28 int rand = Math.RandomInt(0,eMapMarkerTypes.MARKERTYPE_MAX);
29
30
31
32
33 return true;
34 }
proto native vector Vector(float x, float y, float z)
Vector constructor from components.