Exemple #1
0
 public Task <IStoryboardItem?> EnterAsync(IStoryContextEventCaller context)
 => Task.FromResult <IStoryboardItem?>(this);
Exemple #2
0
    public async Task <IStoryboardItem?> EnterAsync(IStoryContextEventCaller context)
    {
        await context.Interlocutor.Mood.ChangeAsync(Name);

        return(this);
    }
Exemple #3
0
    public async Task <IStoryboardItem?> EnterAsync(IStoryContextEventCaller context)
    {
        await context.Interlocutor.Speech.OpenAsync();

        return(this);
    }
Exemple #4
0
 public async Task LeaveAsync(IStoryContextEventCaller context)
 => await context.Interlocutor.Speech.CloseAsync();
Exemple #5
0
    public async Task <IStoryboardItem?> EnterAsync(IStoryContextEventCaller context)
    {
        await context.Protagonist.EnterAsync(context.State[Keys.Protagonist]);

        return(this);
    }
Exemple #6
0
 public async Task LeaveAsync(IStoryContextEventCaller context)
 => await context.Protagonist.LeaveAsync();
Exemple #7
0
 public async Task LeaveAsync(IStoryContextEventCaller context)
 => await context.Narration.CloseAsync();
Exemple #8
0
    public async Task <IStoryboardItem?> EnterAsync(IStoryContextEventCaller context)
    {
        await context.Narration.OpenAsync();

        return(this);
    }
Exemple #9
0
 public async Task LeaveAsync(IStoryContextEventCaller context)
 => await context.Tutorial.CloseAsync();
Exemple #10
0
    public async Task <IStoryboardItem?> EnterAsync(IStoryContextEventCaller context)
    {
        await context.Protagonist.BumpAsync();

        return(this);
    }
Exemple #11
0
    public async Task <IStoryboardItem?> EnterAsync(IStoryContextEventCaller context)
    {
        await context.Prompt.OpenAsync(Prompt);

        return(this);
    }