#1470 interface for inheritable child generation added

--HG--
branch : gsoc2012-achievements
hg/feature/gsoc2013-dfighter
SirCotare 13 years ago
parent 139be8d7dd
commit 8886ed94b7

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

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

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

@ -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");

Loading…
Cancel
Save