AttributesStairs

Attributes of Stairs objects. The attributes "treads" specifies how many treads the stair should be comprised of, counting only the small platforms that are NOT on the ground or on the next floor. Upward direction specifies in which direction the treads should head toward. This way a polygon can also be used. Upward direction must not be normalized (it will be normalized to 1.0 in the constructor).


Field: upwardDirection [Vector2D]

---


Field: treadCount [Integer]

---