public static _map2screen ( Backend mapC, bool tall = false ) : Backend.Coords | ||
mapC | Backend | |
tall | bool | |
return | Backend.Coords |
public static Backend.Coords _map2screen(Backend.Coords mapC, bool tall = false)
{
return new Backend.Coords((int)mapC.x * 64 + ((int)mapC.y) * 64
, (int)mapC.y * 48 - (int)mapC.x * 48);
}
Mainmap::_map2screen ( int x, int y, bool tall = false ) : Backend.Coords |