Class: Clashinator::Troop

Inherits:
Army
  • Object
show all
Defined in:
lib/clashinator/troop.rb

Overview

This class represents the troop model through the player model

Instance Attribute Summary

Attributes inherited from Army

#level, #max_level, #name

Instance Method Summary collapse

Constructor Details

#initialize(attributes) ⇒ Troop

Returns a new instance of Troop.



5
6
7
# File 'lib/clashinator/troop.rb', line 5

def initialize(attributes)
  super(attributes)
end