mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-11 09:49:05 +00:00
21 lines
340 B
PHP
21 lines
340 B
PHP
|
<?php
|
||
|
abstract class RenderNodeIterator {
|
||
|
protected $nodes = array();
|
||
|
|
||
|
function getSize() {
|
||
|
return sizeof($this->nodes);
|
||
|
}
|
||
|
|
||
|
function getChild($i) {
|
||
|
return $this->nodes[$i];
|
||
|
}
|
||
|
|
||
|
function isEmpty() {
|
||
|
return (sizeof($this->nodes) == 0);
|
||
|
}
|
||
|
|
||
|
function getChildren() {
|
||
|
return $this->nodes;
|
||
|
}
|
||
|
}
|
||
|
?>
|