|
GJSS 0.21 | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | DETAIL: FIELD | PROPERTY | CONSTR | METHOD | |||||||
java.lang.Objectscripts.roles.Civilian
scripts.roles.Hunter
class Hunter extends Civilian
狩人の役職クラスです。護衛能力を持ちます。
狩人は村人陣営、村カウント。占い・霊能結果共に白(○)判定です。
| Property Summary | |
|---|---|
static def |
bite
この役職が初日犠牲者として死亡しないかどうかを表します。 |
static def |
number
この役職の人数を表します。 |
static def |
order
役職の順番を表します。 |
static def |
strings
ローカライズされた文字列のバンドルです。 |
| Constructor Summary | |
Hunter(def actor = null)
指定の参加者でインスタンスを作成します。 |
|
| Method Summary | |
|---|---|
def
|
checkStep()
ゲームを進められるかどうかを返します。 |
def
|
defend()
護衛を実行します。 |
def
|
getCommands(def actors)
ツール本体から手動でコマンドを選択するために、そのリストを返します。 |
static def
|
getJustnumber(def number)
役職人数の初期値を返します。 |
def
|
getPriority()
役職の優先度を返します。 |
def
|
getRoleName()
役職の名前を返します。 |
def
|
receiveMessage(def type, def target)
コマンドを処理します。 |
def
|
startPhase()
議論時間・夜時間を開始するときに呼び出されます。 |
| Methods inherited from class Civilian | |
|---|---|
| checkStep, copynoticelog, getCommands, getJustnumber, getPriority, getRoleName, getUpdatePriority, isCivilian, isInvisible, isLive, isWolf, judge, killed, notice, noticeKilled, noticeRole, propertyMissing, propertyMissing, receiveMessage, reset, roleIs, startPhase, update |
| Property Detail |
|---|
static def bite
trueに設定します。
static def number
static def order
static def strings
| Constructor Detail |
|---|
Hunter(def actor = null)
actor - この役職インスタンスを持つ参加者
| Method Detail |
|---|
def checkStep()
true、出来ない場合はfalse。
def defend()
def getCommands(def actors)
actors - 全参加者のリスト
static def getJustnumber(def number)
def getPriority()
def getRoleName()
def receiveMessage(def type, def target)
type - コマンド名target - コマンドの対象
def startPhase()
GJSS 0.21