TrackManiaControl/application/core/FML/Types/Playable.php
Steffen Schröder 666785de90 FML Update
2013-12-09 13:05:05 +01:00

47 lines
619 B
PHP

<?php
namespace FML\Types;
/**
* Interface for elements with media attributes
*
* @author steeffeen
*/
interface Playable {
/**
* Set data
*
* @param string $data
*/
public function setData($data);
/**
* Set play
*
* @param bool $play
*/
public function setPlay($play);
/**
* Set looping
*
* @param bool $looping
*/
public function setLooping($looping);
/**
* Set music
*
* @param bool $music
*/
public function setMusic($music);
/**
* Set volume
*
* @param float $volume
*/
public function setVolume($volume);
}