mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-13 16:37:30 +00:00
5e1ce57322
Ruamoko standard library overhaul.
27 lines
414 B
Objective-C
27 lines
414 B
Objective-C
#ifndef __ruamoko_Point_h
|
|
#define __ruamoko_Point_h
|
|
|
|
#include "Object.h"
|
|
|
|
@interface Point: Object
|
|
{
|
|
@public
|
|
integer x;
|
|
integer y;
|
|
}
|
|
|
|
- (id) initWithComponents: (integer)_x : (integer)_y;
|
|
- (id) initWithPoint: (Point)aPoint;
|
|
- (id) copy;
|
|
|
|
- (void) addPoint: (Point)aPoint;
|
|
- (void) subtractPoint: (Point)aPoint;
|
|
|
|
- (integer) x;
|
|
- (integer) y;
|
|
|
|
- (void) setPoint: (Point)aPoint;
|
|
|
|
@end
|
|
|
|
#endif //__ruamoko_Point_h
|