Painting: polyfill height and width

This commit is contained in:
Dylan K. Taylor
2018-04-09 16:20:46 +01:00
parent 5f52e00213
commit 05a1e61e5b

View File

@ -44,6 +44,12 @@ class Painting extends Entity{
/** @var float */ /** @var float */
protected $drag = 1.0; protected $drag = 1.0;
//these aren't accurate, but it doesn't matter since they aren't used (vanilla PC does something similar)
/** @var float */
public $height = 0.5;
/** @var float */
public $width = 0.5;
/** @var Vector3 */ /** @var Vector3 */
protected $blockIn; protected $blockIn;
/** @var int */ /** @var int */