Renamed 'Classes' to 'Class'
This commit is contained in:
parent
6a1944ad6a
commit
3e5cab4aee
@ -1,4 +1,8 @@
|
|||||||
package OSRIC::Classes;
|
package OSRIC::Class;
|
||||||
|
|
||||||
|
# A list of the classes:
|
||||||
|
my @CLASSES = qw/Assassin Cleric Druid Fighter Illusionist MagicUser Paladin
|
||||||
|
Ranger Thief/;
|
||||||
|
|
||||||
# A sub to get the maximum amount of starting gold (for sorting) and one to get
|
# A sub to get the maximum amount of starting gold (for sorting) and one to get
|
||||||
# an actual amount of starting gold:
|
# an actual amount of starting gold:
|
@ -1,5 +1,5 @@
|
|||||||
package OSRIC::Classes::Assassin;
|
package OSRIC::Class::Assassin;
|
||||||
use parent qw(OSRIC::Classes);
|
use parent qw(OSRIC::Class);
|
||||||
use OSRIC::Util qw/d/;
|
use OSRIC::Util qw/d/;
|
||||||
|
|
||||||
# A sub to get the maximum amount of starting gold (for sorting) and one to get
|
# A sub to get the maximum amount of starting gold (for sorting) and one to get
|
@ -1,5 +1,5 @@
|
|||||||
package OSRIC::Classes::Cleric;
|
package OSRIC::Class::Cleric;
|
||||||
use parent qw(OSRIC::Classes);
|
use parent qw(OSRIC::Class);
|
||||||
use OSRIC::Util qw/d/;
|
use OSRIC::Util qw/d/;
|
||||||
|
|
||||||
# A sub to get the maximum amount of starting gold (for sorting) and one to get
|
# A sub to get the maximum amount of starting gold (for sorting) and one to get
|
@ -1,5 +1,5 @@
|
|||||||
package OSRIC::Classes::Druid;
|
package OSRIC::Class::Druid;
|
||||||
use parent qw(OSRIC::Classes);
|
use parent qw(OSRIC::Class);
|
||||||
use OSRIC::Util qw/d/;
|
use OSRIC::Util qw/d/;
|
||||||
|
|
||||||
# A sub to get the maximum amount of starting gold (for sorting) and one to get
|
# A sub to get the maximum amount of starting gold (for sorting) and one to get
|
@ -1,5 +1,5 @@
|
|||||||
package OSRIC::Classes::Fighter;
|
package OSRIC::Class::Fighter;
|
||||||
use parent qw(OSRIC::Classes);
|
use parent qw(OSRIC::Class);
|
||||||
use OSRIC::Util qw/d/;
|
use OSRIC::Util qw/d/;
|
||||||
|
|
||||||
# A sub to get the maximum amount of starting gold (for sorting) and one to get
|
# A sub to get the maximum amount of starting gold (for sorting) and one to get
|
@ -1,5 +1,5 @@
|
|||||||
package OSRIC::Classes::Illusionist;
|
package OSRIC::Class::Illusionist;
|
||||||
use parent qw(OSRIC::Classes);
|
use parent qw(OSRIC::Class);
|
||||||
use OSRIC::Util qw/d/;
|
use OSRIC::Util qw/d/;
|
||||||
|
|
||||||
# A sub to get the maximum amount of starting gold (for sorting) and one to get
|
# A sub to get the maximum amount of starting gold (for sorting) and one to get
|
@ -1,5 +1,5 @@
|
|||||||
package OSRIC::Classes::MagicUser;
|
package OSRIC::Class::MagicUser;
|
||||||
use parent qw(OSRIC::Classes);
|
use parent qw(OSRIC::Class);
|
||||||
use OSRIC::Util qw/d/;
|
use OSRIC::Util qw/d/;
|
||||||
|
|
||||||
# A sub to get the maximum amount of starting gold (for sorting) and one to get
|
# A sub to get the maximum amount of starting gold (for sorting) and one to get
|
@ -1,5 +1,5 @@
|
|||||||
package OSRIC::Classes::Paladin;
|
package OSRIC::Class::Paladin;
|
||||||
use parent qw(OSRIC::Classes);
|
use parent qw(OSRIC::Class);
|
||||||
use OSRIC::Util qw/d/;
|
use OSRIC::Util qw/d/;
|
||||||
|
|
||||||
# A sub to get the maximum amount of starting gold (for sorting) and one to get
|
# A sub to get the maximum amount of starting gold (for sorting) and one to get
|
@ -1,5 +1,5 @@
|
|||||||
package OSRIC::Classes::Ranger;
|
package OSRIC::Class::Ranger;
|
||||||
use parent qw(OSRIC::Classes);
|
use parent qw(OSRIC::Class);
|
||||||
use OSRIC::Util qw/d/;
|
use OSRIC::Util qw/d/;
|
||||||
|
|
||||||
# A sub to get the maximum amount of starting gold (for sorting) and one to get
|
# A sub to get the maximum amount of starting gold (for sorting) and one to get
|
@ -1,5 +1,5 @@
|
|||||||
package OSRIC::Classes::Thief;
|
package OSRIC::Class::Thief;
|
||||||
use parent qw(OSRIC::Classes);
|
use parent qw(OSRIC::Class);
|
||||||
use OSRIC::Util qw/d/;
|
use OSRIC::Util qw/d/;
|
||||||
|
|
||||||
# A sub to get the maximum amount of starting gold (for sorting) and one to get
|
# A sub to get the maximum amount of starting gold (for sorting) and one to get
|
Loading…
Reference in New Issue
Block a user