Ejemplo n.º 1
0
 public GenericOutput <Point> PointSelect(PointPredicate pointPredicate)
 {
     return(Action("[Feed].[Point.Action]", new GenericInput <Point, PointPredicate>
     {
         ActionType = ActionType.PointSelect,
         Predicate = pointPredicate
     }));
 }
Ejemplo n.º 2
0
 public GenericOutput <Point> PointSelect(PointPredicate pointPredicate)
 {
     return(ModelData.Instance.PointSelect(pointPredicate));
 }
Ejemplo n.º 3
0
 private KeystrokeResult RangedAttack()
 {
     if (m_chordKeystroke == ChordKeystrokeStatus.RangedAttack)
     {
         m_engine.PlayerAttack(m_engine.TargetSelection);
         m_engine.SelectingTarget = false;
         m_chordKeystroke = ChordKeystrokeStatus.None;
         return KeystrokeResult.Action;
     }
     else
     {
         m_chordKeystroke = ChordKeystrokeStatus.RangedAttack;
         m_engine.TargetSelection = m_engine.Player.Position;
         m_engine.SelectingTarget = true;
         m_targetSelectionAllowable = p => (PointDirectionUtils.LatticeDistance(p, m_engine.Player.Position) <= 4);
         return KeystrokeResult.InRangedAttack;
     }
 }