NAME
Graphics::Grid::Positional - Role for supporting (x, y) position in Graphics::Grid
VERSION
version 0.001
DESCRIPTION
This role describes something that has position defined by (x, y).
ATTRIBUTES
x
A Grahpics::Grid::Unit object specifying x-location.
Default to unit(0.5, "npc")
.
y
A Grahpics::Grid::Unit object specifying y-location.
Default to unit(0.5, "npc")
.
The reference point is the left-bottom of parent viewport.
SEE ALSO
AUTHOR
Stephan Loyd <sloyd@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2018-2023 by Stephan Loyd.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.