コード例 #1
0
        public bool Expects([Held] Object obj, Preposition.At at, Object indirect)
        {
            if (indirect.Animate)
            {
                Print("You lack the nerve when it comes to the crucial moment.");
            }
            else
            {
                Print("Futile.");
            }

            return(true);
        }
コード例 #2
0
ファイル: WaveHands.cs プロジェクト: jphamilton/colossal-cave
 public bool Expects(Preposition.At at, Object obj)
 {
     Print($"You wave at the {obj}, feeling foolish.");
     return(true);
 }
コード例 #3
0
 public bool Expects([Held] Object obj, Preposition.At at, Object indirect)
 {
     return(Redirect <ThrowAt>(obj, v => v.Expects(obj, at, indirect)));
 }
コード例 #4
0
 public bool Expects(Object obj, Preposition.At at)
 {
     return(Redirect <Examine>(obj, v => v.Expects(obj)));
 }
コード例 #5
0
 public bool Expects(Object obj, Preposition.At at, Object indirect)
 {
     Print($"You wave the {obj} at the {indirect}, feeling foolish.");
     return(true);
 }
コード例 #6
0
 public bool Expects(Preposition.At at, Object obj)
 {
     return(Redirect <WaveHands>(obj, v => v.Expects(at, obj)));
 }