Renamed 'Classes' to 'Class'

This commit is contained in:
Alex Kerr 2015-01-22 12:39:45 +00:00
parent 6a1944ad6a
commit 3e5cab4aee
10 changed files with 23 additions and 19 deletions

View File

@ -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
# an actual amount of starting gold:

View File

@ -1,5 +1,5 @@
package OSRIC::Classes::Assassin;
use parent qw(OSRIC::Classes);
package OSRIC::Class::Assassin;
use parent qw(OSRIC::Class);
use OSRIC::Util qw/d/;
# A sub to get the maximum amount of starting gold (for sorting) and one to get

View File

@ -1,5 +1,5 @@
package OSRIC::Classes::Cleric;
use parent qw(OSRIC::Classes);
package OSRIC::Class::Cleric;
use parent qw(OSRIC::Class);
use OSRIC::Util qw/d/;
# A sub to get the maximum amount of starting gold (for sorting) and one to get

View File

@ -1,5 +1,5 @@
package OSRIC::Classes::Druid;
use parent qw(OSRIC::Classes);
package OSRIC::Class::Druid;
use parent qw(OSRIC::Class);
use OSRIC::Util qw/d/;
# A sub to get the maximum amount of starting gold (for sorting) and one to get

View File

@ -1,5 +1,5 @@
package OSRIC::Classes::Fighter;
use parent qw(OSRIC::Classes);
package OSRIC::Class::Fighter;
use parent qw(OSRIC::Class);
use OSRIC::Util qw/d/;
# A sub to get the maximum amount of starting gold (for sorting) and one to get

View File

@ -1,5 +1,5 @@
package OSRIC::Classes::Illusionist;
use parent qw(OSRIC::Classes);
package OSRIC::Class::Illusionist;
use parent qw(OSRIC::Class);
use OSRIC::Util qw/d/;
# A sub to get the maximum amount of starting gold (for sorting) and one to get

View File

@ -1,5 +1,5 @@
package OSRIC::Classes::MagicUser;
use parent qw(OSRIC::Classes);
package OSRIC::Class::MagicUser;
use parent qw(OSRIC::Class);
use OSRIC::Util qw/d/;
# A sub to get the maximum amount of starting gold (for sorting) and one to get

View File

@ -1,5 +1,5 @@
package OSRIC::Classes::Paladin;
use parent qw(OSRIC::Classes);
package OSRIC::Class::Paladin;
use parent qw(OSRIC::Class);
use OSRIC::Util qw/d/;
# A sub to get the maximum amount of starting gold (for sorting) and one to get

View File

@ -1,5 +1,5 @@
package OSRIC::Classes::Ranger;
use parent qw(OSRIC::Classes);
package OSRIC::Class::Ranger;
use parent qw(OSRIC::Class);
use OSRIC::Util qw/d/;
# A sub to get the maximum amount of starting gold (for sorting) and one to get

View File

@ -1,5 +1,5 @@
package OSRIC::Classes::Thief;
use parent qw(OSRIC::Classes);
package OSRIC::Class::Thief;
use parent qw(OSRIC::Class);
use OSRIC::Util qw/d/;
# A sub to get the maximum amount of starting gold (for sorting) and one to get