Class: RGSS::IVec2 Abstract
- Inherits:
-
Object
- Object
- RGSS::IVec2
- Defined in:
- lib/rgss/stubs/rect.rb
Overview
This class is abstract.
Instance Method Summary collapse
- #+(other) ⇒ Object (also: #add)
- #-(other) ⇒ Object (also: #subtract)
- #[](index) ⇒ Object
- #[]=(index, value) ⇒ Object
- #empty? ⇒ Boolean
-
#initialize(*args) ⇒ IVec2
constructor
Creates a new instance of the IVec2 class.
- #set(x, y) ⇒ Object
-
#to_a ⇒ Array(Integer, Integer)
Creates an array instance that represents this object.
-
#to_h ⇒ Hash{Symbol => Integer}
Creates a hash instance that represents this object.
Constructor Details
#initialize ⇒ IVec2 #initialize(x, y) ⇒ IVec2 #initialize(other) ⇒ IVec2
Creates a new instance of the RGSS::IVec2 class.
18 19 |
# File 'lib/rgss/stubs/rect.rb', line 18 def initialize(*args) end |
Instance Method Details
#+(other) ⇒ Object Also known as: add
39 40 |
# File 'lib/rgss/stubs/rect.rb', line 39 def +(other) end |
#-(other) ⇒ Object Also known as: subtract
42 43 |
# File 'lib/rgss/stubs/rect.rb', line 42 def -(other) end |
#[](index) ⇒ Object
21 22 |
# File 'lib/rgss/stubs/rect.rb', line 21 def [](index) end |
#[]=(index, value) ⇒ Object
24 25 |
# File 'lib/rgss/stubs/rect.rb', line 24 def []=(index, value) end |
#empty? ⇒ Boolean
48 49 |
# File 'lib/rgss/stubs/rect.rb', line 48 def empty? end |
#set(x, y) ⇒ Object
45 46 |
# File 'lib/rgss/stubs/rect.rb', line 45 def set(x, y) end |
#to_a ⇒ Array(Integer, Integer)
Creates an array instance that represents this object.
30 31 |
# File 'lib/rgss/stubs/rect.rb', line 30 def to_a end |
#to_h ⇒ Hash{Symbol => Integer}
Creates a hash instance that represents this object.
36 37 |
# File 'lib/rgss/stubs/rect.rb', line 36 def to_h end |