Superfighters Deluxe
Point Struct Reference

Point More...

Inheritance diagram for Point:

Public Member Functions

 Point (int x, int y)
 Constructs a new Point More...
 
override bool Equals (object obj)
 Compares if the components in two points match More...
 
bool Equals (Vector2 other)
 Compares if the components in two points match More...
 
override int GetHashCode ()
 
override string ToString ()
 

Static Public Member Functions

static bool operator!= (Point value1, Point value2)
 
static bool operator== (Point value1, Point value2)
 

Properties

int X [get]
 Gets the X component More...
 
int Y [get]
 Gets the Y component More...
 

Detailed Description

Constructor & Destructor Documentation

◆ Point()

Point ( int  x,
int  y 
)

Constructs a new Point

Parameters
x
y

Member Function Documentation

◆ Equals() [1/2]

override bool Equals ( object  obj)

Compares if the components in two points match

Parameters
obj
Returns

◆ Equals() [2/2]

bool Equals ( Vector2  other)

Compares if the components in two points match

Parameters
other
Returns

◆ GetHashCode()

override int GetHashCode ( )

Returns

◆ operator!=()

static bool operator!= ( Point  value1,
Point  value2 
)
static

Parameters
value1
value2
Returns

◆ operator==()

static bool operator== ( Point  value1,
Point  value2 
)
static

Parameters
value1
value2
Returns

◆ ToString()

override string ToString ( )

Returns

Property Documentation

◆ X

int X
get

Gets the X component

◆ Y

int Y
get

Gets the Y component