![]() |
![]()
| ![]() |
![]()
NAMEGames::Sequential::Position - base Position class for use with Games::Sequential SYNOPSISpackage My::GamePos; use base Games::Sequential::Position; sub init { ... } # setup initial state sub apply { ... } package main; my $pos = My::GamePos->new; my $game = Games::Sequential->new($pos); DESCRIPTIONGames::Sequential::Position is a base class for position-classes that can be used with Games::Sequential. This class is provided for convenience; you don't need this class to use "Games::Sequential". It is also possible to use this class on its own. PURE VIRTUAL METHODSModules inheriting this class must implement at least the apply() method. If you chose to not use this class, you must also implement a copy() method which makes a deep copy of the object.
METHODSThe following methods are provided by this class.
SEE ALSOThe author's website, describing this and other projects: <http://brautaset.org/software/> AUTHORStig Brautaset, <stig@brautaset.org> COPYRIGHT AND LICENCECopyright (C) 2004, 2005 by Stig Brautaset This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.3 or, at your option, any later version of Perl 5 you may have available.
|