Class: RPG::Enemy::DropItem

Inherits:
Object
  • Object
show all
Defined in:
lib/rgss3/rpg.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeDropItem

Returns a new instance of DropItem.



680
681
682
683
684
# File 'lib/rgss3/rpg.rb', line 680

def initialize
  @kind = 0
  @data_id = 1
  @denominator = 1
end

Instance Attribute Details

#data_idObject

Returns the value of attribute data_id.



686
687
688
# File 'lib/rgss3/rpg.rb', line 686

def data_id
  @data_id
end

#denominatorObject

Returns the value of attribute denominator.



687
688
689
# File 'lib/rgss3/rpg.rb', line 687

def denominator
  @denominator
end

#kindObject

Returns the value of attribute kind.



685
686
687
# File 'lib/rgss3/rpg.rb', line 685

def kind
  @kind
end