PrinceGame.Sprite.CheckOnRow C# (CSharp) Method

CheckOnRow() public method

public CheckOnRow ( Position position__1 ) : bool
position__1 Position
return bool
        public bool CheckOnRow(Position position__1)
        {
            if (position__1.Y == Position.Y)
            {
                return true;
            }
            return false;
        }