onClick
public void onClick(android.view.View v)
Floating action buttons.
If View == AddCharacter we configure each characteristic of the player,
and check to see the user wont try to create more than five, which is the limit.
If View == Next, we check that not the initial tile, nor the final tile are of those
terrains through which the character is not able to pass. Finally, we get all the
information into the intent for the next activity.
- Specified by:
onClick
in interface android.view.View.OnClickListener
- Parameters:
v
- View of the button clicked.