TrackManiaControl/application/plugins/plugin.mControl.php

38 lines
495 B
PHP
Raw Normal View History

2013-11-09 10:46:45 +01:00
<?php
namespace mControl;
/**
* Abstract mControl plugin class
*/
abstract class Plugin_Name {
/**
* Constants
*/
const VERSION = '0.1';
/**
* Private properties
*/
private $mControl = null;
/**
* Construct plugin
*
* @param object $mControl
*/
public function __construct($mControl) {
$this->mControl = $mControl;
error_log('Pugin v' . self::VERSION . ' ready!');
}
/**
* Perform actions during each loop
*/
public function loop() {
}
}
?>