CCPointI
CCPointI
Cocos2DType: Struct
Constructors
CCPointI(int, int)
Methods
Distance(ref CCPointI)
System.Int32 Distance(ref CCPointI)(Cocos2D.CCPointI p)Parameters:
p (Cocos2D.CCPointI)Returns:
System.Int32DistanceSQ(ref CCPointI)
System.Int32 DistanceSQ(ref CCPointI)(Cocos2D.CCPointI p)Parameters:
p (Cocos2D.CCPointI)Returns:
System.Int32Equals(ref CCPointI)
System.Boolean Equals(ref CCPointI)(Cocos2D.CCPointI p)Parameters:
p (Cocos2D.CCPointI)Returns:
System.BooleanEquals(object?)
System.Boolean Equals(object?)(System.Object obj)Parameters:
obj (System.Object)Returns:
System.BooleanExample
GetHashCode()
System.Int32 GetHashCode()()Returns:
System.Int32Example
Operators
operator +(CCPointI, CCPointI)
operator ==(CCPointI, CCPointI)
implicit operator CCPoint(CCPointI)
operator !=(CCPointI, CCPointI)
operator -(CCPointI, CCPointI)
operator -(CCPointI)
operator +(CCPointI)
Fields
X(System.Int32)
Y(System.Int32)