You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
474 B
Objective-C

#ifndef PLAYER_H
#define PLAYER_H
#import <raylib.h>
#import <yesmath.h>
#import <yeslib.h>
#import "Camera.h"
#import "SoundPlayer.h"
@class GameCamera;
@interface Player : YSObject {
@public
BoundingBox bbox;
float height;
Vector3 pos;
GameCamera *attachedCamera;
SoundPlayer *soundPlayer;
Texture2D weapon;
}
-(id) init;
-(void) showPos;
-(void) attack;
-(void) moveForward;
-(void) moveBack;
-(void) moveLeft;
-(void) moveRight;
@end
#endif