| 1 | package SDL2::Point { | ||
| 2 | use SDL2::Utils; | ||
| 3 | has | ||
| 4 | x => 'int', | ||
| 5 | y => 'int'; | ||
| 6 | |||
| 7 | =encoding utf-8 | ||
| 8 | |||
| 9 | =head1 NAME | ||
| 10 | |||
| 11 | SDL2::Point - The Structure that Defines a Point with Integers | ||
| 12 | |||
| 13 | =head1 SYNOPSIS | ||
| 14 | |||
| 15 | use SDL2 qw[:all]; | ||
| 16 | my $point = SDL2::Point->new( { x => 1, y => 1 } ); | ||
| 17 | warn $point->x; | ||
| 18 | |||
| 19 | =head1 DESCRIPTION | ||
| 20 | |||
| 21 | SDL2::Point | ||
| 22 | |||
| 23 | =head1 Fields | ||
| 24 | |||
| 25 | =over | ||
| 26 | |||
| 27 | =item C<x> | ||
| 28 | |||
| 29 | =item C<y> | ||
| 30 | |||
| 31 | =back | ||
| 32 | |||
| 33 | =head1 AUTHOR | ||
| 34 | |||
| 35 | Sanko Robinson E<lt>sanko@cpan.orgE<gt> | ||
| 36 | |||
| 37 | =begin stopwords | ||
| 38 | |||
| 39 | =end stopwords | ||
| 40 | |||
| 41 | =cut | ||
| 42 | |||
| 43 | }; | ||
| 44 | 1; |