TPInputLibrary.SF4InputState.Equals C# (CSharp) Method

Equals() public method

public Equals ( SF4InputState other ) : bool
other SF4InputState
return bool
        public bool Equals(SF4InputState other)
        {
            if (object.ReferenceEquals(other, null)) return false;

            bool result = true;
            result &= Back == other.Back;
            result &= Start == other.Start;
            result &= Up == other.Up;
            result &= Down == other.Down;
            result &= Left == other.Left;
            result &= Right == other.Right;
            result &= Forward == other.Forward;
            result &= Backward == other.Backward;
            result &= LightPunch == other.LightPunch;
            result &= MediumPunch == other.MediumPunch;
            result &= HardPunch == other.HardPunch;
            result &= LightKick == other.LightKick;
            result &= MediumKick == other.MediumKick;
            result &= HardKick == other.HardKick;

            return result;
        }

Same methods

SF4InputState::Equals ( object obj ) : bool