21 lines
342 B
TypeScript
21 lines
342 B
TypeScript
|
|
module mod_vtm_aufbau
|
|
{
|
|
|
|
/**
|
|
* @author kcf <vidofnir@folksprak.org>
|
|
*/
|
|
export type typ_position = {u : int; v : int;};
|
|
|
|
|
|
/**
|
|
* @author kcf <vidofnir@folksprak.org>
|
|
*/
|
|
export function position_hash(position : typ_position) : string
|
|
{
|
|
return (position.u.toFixed(0) + "_" + position.v.toFixed(0));
|
|
}
|
|
|
|
}
|
|
|