Class: Studio::BallItem

Inherits:
Item show all
Defined in:
scripts/00800 Studio/00001 Data/00002 Item/00002 BallItem.rb

Overview

Data class describing an Item that allow the player to catch a creature

Constant Summary

Constants inherited from Item

Item::ItemGetME

Instance Attribute Summary collapse

Attributes inherited from Item

#db_symbol, #fling_power, #icon, #id, #is_battle_usable, #is_holdable, #is_limited, #is_map_usable, #position, #price, #socket

Method Summary

Methods inherited from Item

#description, #exact_name, #me, #name, #plural_name

Instance Attribute Details

#catch_rateInteger, Float (readonly)

Get the rate of the ball in worse conditions

Returns:



9
10
11
# File 'scripts/00800 Studio/00001 Data/00002 Item/00002 BallItem.rb', line 9

def catch_rate
  @catch_rate
end

#colorColor (readonly)

Get the color of the ball

Returns:



12
13
14
# File 'scripts/00800 Studio/00001 Data/00002 Item/00002 BallItem.rb', line 12

def color
  @color
end

#sprite_filenameString (readonly) Also known as: img

Get the image of the ball

Returns:



6
7
8
# File 'scripts/00800 Studio/00001 Data/00002 Item/00002 BallItem.rb', line 6

def sprite_filename
  @sprite_filename
end