Phpcraft
Public Member Functions | Public Attributes | List of all members
Phpcraft\World\BlockProperty Class Reference

Public Member Functions

 __construct (array $values)
 
 getDefaultValue ()
 

Public Attributes

 $values
 
 $default
 

Detailed Description

Since
0.5 Moved from Phpcraft to Phpcraft\World namespace

Constructor & Destructor Documentation

◆ __construct()

Phpcraft\World\BlockProperty::__construct ( array  $values)
Parameters
array<string>$values Array of possible values.

Member Function Documentation

◆ getDefaultValue()

Phpcraft\World\BlockProperty::getDefaultValue ( )
Returns
string

Member Data Documentation

◆ $default

Phpcraft\World\BlockProperty::$default

◆ $values

Phpcraft\World\BlockProperty::$values