|
|
@ -36,16 +36,12 @@ if(RadiumEngine !== undefined)
|
|
|
|
if(coords.x >= 0 && coords.x < self.width && coords.y >= 0 && coords.y < self.height)
|
|
|
|
if(coords.x >= 0 && coords.x < self.width && coords.y >= 0 && coords.y < self.height)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
self.mouse_in = true;
|
|
|
|
self.mouse_in = true;
|
|
|
|
$('#status').html("in");
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else
|
|
|
|
else
|
|
|
|
{
|
|
|
|
{
|
|
|
|
self.mouse_in = false;
|
|
|
|
self.mouse_in = false;
|
|
|
|
$('#status').html("out");
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/*$('#status').html(coords.x + " , " + coords.y);*/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
self.Redraw();
|
|
|
|
self.Redraw();
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|