#1470 interface for inheritable child generation added

This commit is contained in:
SirCotare 2012-06-21 22:28:51 +02:00
parent 0e06c1a129
commit 339b42fe81
4 changed files with 8 additions and 2 deletions

View file

@ -1,5 +1,5 @@
<?php
class AchObjective {
class AchObjective implements Parentum {
private $id;
private $perk;
private $condition;

View file

@ -0,0 +1,5 @@
<?php
interface Parentum {
function makeChild(&$a);
}
?>

View file

@ -1,5 +1,5 @@
<?php
abstract class RenderNodeIterator {
abstract class RenderNodeIterator implements Parentum {
protected $nodes = array();
function getSize() {

View file

@ -36,6 +36,7 @@ require_once("include/ach_render_common.php");
require_once("class/RenderNodeIteraor_abstract.php");
require_once("class/AchList_abstract.php");
require_once("class/Tieable_inter.php");
require_once("class/Parentum_inter.php");
require_once("class/AchMenu_class.php");
require_once("class/AchSummary_class.php");