Class: Cursor3

Inherits:
Moon::DataModel::Metal
  • Object
show all
Includes:
Movable3
Defined in:
lib/moon/packages/twod/cursor3.rb

Overview

Generic 3D Cursor

Instance Attribute Summary collapse

Method Summary

Methods included from Movable3

#backward, #down, #forward, #left, #move_distance, #moveto, #right, #up

Instance Attribute Details

#positionMoon::Vector2

Returns:


8
# File 'lib/moon/packages/twod/cursor3.rb', line 8

field :position, type: Moon::Vector3, default: proc{ |t| t.model.new }