Class: RGSS::IVec2 Abstract

Inherits:
Object
  • Object
show all
Defined in:
lib/rgss/stubs/rect.rb

Overview

This class is abstract.

Direct Known Subclasses

Point, Size

Instance Method Summary collapse

Constructor Details

#initializeIVec2 #initialize(x, y) ⇒ IVec2 #initialize(other) ⇒ IVec2

Creates a new instance of the RGSS::IVec2 class.

Overloads:

  • #initialize(x, y) ⇒ IVec2

    Parameters:

    • x (Numeric)
    • y (Numeric)
  • #initialize(other) ⇒ IVec2

    Parameters:


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

Returns:

  • (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_aArray(Integer, Integer)

Creates an array instance that represents this object.

Returns:

  • (Array(Integer, Integer))

    The newly created Array.


30
31
# File 'lib/rgss/stubs/rect.rb', line 30

def to_a
end

#to_hHash{Symbol => Integer}

Creates a hash instance that represents this object.

Returns:

  • (Hash{Symbol => Integer})

    The newly created Hash.


36
37
# File 'lib/rgss/stubs/rect.rb', line 36

def to_h
end