Class: AuthorEngine::Sprite

Inherits:
Struct
  • Object
show all
Defined in:
lib/author_engine/sprite.rb

Instance Attribute Summary collapse

Instance Attribute Details

#spriteObject

Returns the value of attribute sprite

Returns:

  • (Object)

    the current value of sprite



2
3
4
# File 'lib/author_engine/sprite.rb', line 2

def sprite
  @sprite
end

#xObject

Returns the value of attribute x

Returns:

  • (Object)

    the current value of x



2
3
4
# File 'lib/author_engine/sprite.rb', line 2

def x
  @x
end

#yObject

Returns the value of attribute y

Returns:

  • (Object)

    the current value of y



2
3
4
# File 'lib/author_engine/sprite.rb', line 2

def y
  @y
end

#zObject

Returns the value of attribute z

Returns:

  • (Object)

    the current value of z



2
3
4
# File 'lib/author_engine/sprite.rb', line 2

def z
  @z
end