mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-17 13:01:42 +00:00
#1470 interface for inheritable child generation added
This commit is contained in:
parent
b08d256297
commit
12884dac30
4 changed files with 8 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
class AchObjective {
|
class AchObjective implements Parentum {
|
||||||
private $id;
|
private $id;
|
||||||
private $perk;
|
private $perk;
|
||||||
private $condition;
|
private $condition;
|
||||||
|
|
5
code/web/app/app_achievements/class/Parentum_inter.php
Normal file
5
code/web/app/app_achievements/class/Parentum_inter.php
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
<?php
|
||||||
|
interface Parentum {
|
||||||
|
function makeChild(&$a);
|
||||||
|
}
|
||||||
|
?>
|
|
@ -1,5 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
abstract class RenderNodeIterator {
|
abstract class RenderNodeIterator implements Parentum {
|
||||||
protected $nodes = array();
|
protected $nodes = array();
|
||||||
|
|
||||||
function getSize() {
|
function getSize() {
|
||||||
|
|
|
@ -36,6 +36,7 @@ require_once("include/ach_render_common.php");
|
||||||
require_once("class/RenderNodeIteraor_abstract.php");
|
require_once("class/RenderNodeIteraor_abstract.php");
|
||||||
require_once("class/AchList_abstract.php");
|
require_once("class/AchList_abstract.php");
|
||||||
require_once("class/Tieable_inter.php");
|
require_once("class/Tieable_inter.php");
|
||||||
|
require_once("class/Parentum_inter.php");
|
||||||
|
|
||||||
require_once("class/AchMenu_class.php");
|
require_once("class/AchMenu_class.php");
|
||||||
require_once("class/AchSummary_class.php");
|
require_once("class/AchSummary_class.php");
|
||||||
|
|
Loading…
Reference in a new issue