Andrew Tomaka
4124cd55f3
Abstract the stats collection portions of DPClass so that additional providers might easily be substituted in the future. Initial abstract is weak and can expand when an additional provider is actually found.
8 lines
No EOL
151 B
PHP
8 lines
No EOL
151 B
PHP
<?php
|
|
class Barbarian extends DiabloClass {
|
|
function __construct($stats) {
|
|
$this->class = $stats->class;
|
|
|
|
parent::__construct($stats);
|
|
}
|
|
} |