Documentation ¶
Index ¶
- type Choice
- type MessageSyntaxParser
- type Windows
- func (w *Windows) CanProceed(interpreterID consts.InterpreterID) bool
- func (w *Windows) ChosenIndex() int
- func (w *Windows) CloseAll()
- func (w *Windows) CloseImmediatelyForInterpreter(interpreterID consts.InterpreterID)
- func (w *Windows) DecodeMsgpack(dec *msgpack.Decoder) error
- func (w *Windows) Draw(screen *ebiten.Image, characters []*character.Character, ...)
- func (w *Windows) EncodeMsgpack(enc *msgpack.Encoder) error
- func (w *Windows) GC(excludes []consts.InterpreterID)
- func (w *Windows) HasChosenIndex() bool
- func (w *Windows) IsAnimating(interpreterID consts.InterpreterID) bool
- func (w *Windows) IsBusy(interpreterID consts.InterpreterID) bool
- func (w *Windows) IsBusyWithChoosing() bool
- func (w *Windows) ShowBalloon(contentID data.UUID, parser MessageSyntaxParser, game *data.Game, ...)
- func (w *Windows) ShowChoices(parser MessageSyntaxParser, game *data.Game, choices []*Choice, ...)
- func (w *Windows) ShowMessage(contentID data.UUID, parser MessageSyntaxParser, game *data.Game, eventID int, ...)
- func (w *Windows) Update(playerY int, parser MessageSyntaxParser, sceneManager *scene.Manager, ...)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MessageSyntaxParser ¶
type Windows ¶
type Windows struct {
// contains filtered or unexported fields
}
func (*Windows) CanProceed ¶
func (w *Windows) CanProceed(interpreterID consts.InterpreterID) bool
func (*Windows) ChosenIndex ¶
ChosenIndex returns the chosen index that are chosen lastly. This value is valid even after the choosing windows are closed. This value is invalidated when the new choosing windows are shown.
func (*Windows) CloseImmediatelyForInterpreter ¶
func (w *Windows) CloseImmediatelyForInterpreter(interpreterID consts.InterpreterID)
func (*Windows) GC ¶
func (w *Windows) GC(excludes []consts.InterpreterID)
GC closes windows immediately if its interpreter ID is not in the given interpreter ID set.
GC aims to rescue old save data.
func (*Windows) HasChosenIndex ¶
func (*Windows) IsAnimating ¶
func (w *Windows) IsAnimating(interpreterID consts.InterpreterID) bool
IsAnimating reports whether some of windows are animating. If interpreterID is non 0, checking the window related to the interpreter is skipped.
func (*Windows) IsBusy ¶
func (w *Windows) IsBusy(interpreterID consts.InterpreterID) bool
IsAnimating reports whether some of windows are busy (animating or opened). If interpreterID is non 0, checking the window related to the interpreter is skipped.
func (*Windows) IsBusyWithChoosing ¶
func (*Windows) ShowBalloon ¶
func (w *Windows) ShowBalloon(contentID data.UUID, parser MessageSyntaxParser, game *data.Game, balloonType data.BalloonType, eventID int, interpreterID consts.InterpreterID, messageStyle *data.MessageStyle)
func (*Windows) ShowChoices ¶
func (w *Windows) ShowChoices(parser MessageSyntaxParser, game *data.Game, choices []*Choice, interpreterID consts.InterpreterID)
func (*Windows) ShowMessage ¶
func (w *Windows) ShowMessage(contentID data.UUID, parser MessageSyntaxParser, game *data.Game, eventID int, background data.MessageBackground, positionType data.MessagePositionType, textAlign data.TextAlign, interpreterID consts.InterpreterID, messageStyle *data.MessageStyle)
Click to show internal directories.
Click to hide internal directories.