Exemplo n.º 1
0
    public ClippyConversationFrame(string text, ResponseDelegate okayResponse, int okayResponseIndexChange)
    {
        this.text                    = text;
        this.okayResponse            = okayResponse;
        this.okayResponseIndexChange = okayResponseIndexChange;

        this.frameType = ConversationFrameType.Okay;
    }
Exemplo n.º 2
0
    public ClippyConversationFrame(string text, ResponseDelegate yesResponse, int yesResponseIndexChange,
                                   ResponseDelegate noResponse, int noResponseIndexChange)
    {
        this.text                   = text;
        this.yesResponse            = yesResponse;
        this.yesResponseIndexChange = yesResponseIndexChange;
        this.noResponse             = noResponse;
        this.noResponseIndexChange  = noResponseIndexChange;

        this.frameType = ConversationFrameType.Unique;
    }