view src/PlayerEyePoint.h @ 10:5727d511a13a

add src in Martial Project Xcode.
author tokumoritaichirou@nw0743.st.ie.u-ryukyu.ac.jp
date Wed, 03 Feb 2010 03:39:04 +0900
parents
children
line wrap: on
line source

/*
 *  PlayerEyePoint.h
 *  Martial
 *
 *  Created by ryoma on 10/01/28.
 *  Copyright 2010 琉球大学. All rights reserved.
 *
 */

#ifndef _PLAYER_EYE_POINT_H_
#define _PLAYER_EYE_POINT_H_

#include "EyePoint.h"

class PlayerEyePoint : public EyePoint {
	protected:
		MovableObject* owner;
		MovableObject* target;
		bool relativeRotate;
	public:
		PlayerEyePoint(MovableObject* owner);
		void frame();
		void setTarget(MovableObject* target);
		void setOwner(MovableObject* owner);
		void setRelativeRotate(bool rr);
};

#endif