Groovy Documentation

de.dewarim.goblin
[Groovy] Class MeleeController

java.lang.Object
  de.dewarim.goblin.BaseController
      de.dewarim.goblin.MeleeController

class MeleeController
extends BaseController

Property Summary
java.lang.Object itemService

java.lang.Object meleeService

 
Constructor Summary
MeleeController()

 
Method Summary
java.lang.Object attack()

protected java.util.Map fetchViewParameters(PlayerCharacter pc)

java.lang.Object index()

Show list of current melee fighters and allow player to join in.

java.lang.Object join()

Join a melee round.

java.lang.Object leave()

Leave a melee round.

java.lang.Object updateActions()

java.lang.Object updateFighterList()

java.lang.Object useItem()

 
Methods inherited from class BaseController
fetchItem, fetchPc, fetchUser, renderException
 

Property Detail

itemService

java.lang.Object itemService


meleeService

java.lang.Object meleeService


 
Constructor Detail

MeleeController

MeleeController()


 
Method Detail

attack

@Secured(['ROLE_USER'])
java.lang.Object attack()


fetchViewParameters

protected java.util.Map fetchViewParameters(PlayerCharacter pc)


index

@Secured(['ROLE_USER'])
java.lang.Object index()
Show list of current melee fighters and allow player to join in. If now melee is running, the player may register for the next round.


join

@Secured(['ROLE_USER'])
java.lang.Object join()
Join a melee round. There should always be one melee in status RUNNING or WAITING, which the player may join.


leave

@Secured(['ROLE_USER'])
java.lang.Object leave()
Leave a melee round. A player may leave at any time.


updateActions

@Secured(['ROLE_USER'])
java.lang.Object updateActions()


updateFighterList

@Secured(['ROLE_USER'])
java.lang.Object updateFighterList()


useItem

@Secured(['ROLE_USER'])
java.lang.Object useItem()


 

Groovy Documentation