mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-11-24 15:56:22 +00:00
20 lines
354 B
PHP
20 lines
354 B
PHP
|
<?php
|
||
|
class CSRAchievement extends AchAchievement implements CSR {
|
||
|
|
||
|
function CSRAchievement(&$data) {
|
||
|
parent::__construct($data);
|
||
|
}
|
||
|
|
||
|
function grant($pid) {
|
||
|
foreach($this->nodes as $elem) {
|
||
|
$elem->grant($pid);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
function deny($pid) {
|
||
|
foreach($this->nodes as $elem) {
|
||
|
$elem->deny($pid);
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
?>
|