class Oid::Components::MousePressed
- Oid::Components::MousePressed
- Entitas::Component
- Reference
- Object
Overview
Check to see if the component is a sub-class of ::Entitas::Component
Defined in:
oid/components/input.crClass Method Summary
-
.is_unique? : Bool
If the component has the unique annotation, set the class method to
true
The framework will make sure that only one instance of a unique component can be present in your context Will return true if the class is a unique component for a context
Instance Method Summary
-
#is_unique? : Bool
If the component has the unique annotation, set the class method to
true
The framework will make sure that only one instance of a unique component can be present in your context Will return true if the class is a unique component for a context - #position : Oid::Vector2
- #position=(position : Oid::Vector2 | Nil)
- #position? : Bool
Class Method Detail
If the component has the unique annotation,
set the class method to true
The framework will make sure that only one instance of a unique component can be present in your context
Will return true if the class is a unique component for a context
Instance Method Detail
If the component has the unique annotation,
set the class method to true
The framework will make sure that only one instance of a unique component can be present in your context
Will return true if the class is a unique component for a context