Home | Namespaces | Hierarchy | Alphabetical List | Class list | Files | Namespace Members | Class members | File members |
00001 // Copyright (c) 2007-2008 Tomer Nosrati 00002 // This file is part of the "NUSoftware Game Engine". 00003 // For conditions of distribution and use, see copyright notice in nge.hpp 00004 00005 #pragma once 00006 #ifndef __I_PLAYER_H__ 00007 #define __I_PLAYER_H__ 00008 00009 #include "IActor.hpp" 00010 00011 namespace nge 00012 { 00013 namespace game 00014 { 00015 00016 class IPlayer : public IActor 00017 { 00018 public: 00020 IPlayer(ICameraSceneNode* Camera, ILevelManager* lmgr, 00021 ISceneNode* SceneNode, f32 rotSpeed, f32 moveSpeed, 00022 bool verticalMovement, SOpKeyMap* keyMapArray, u32 keyMapSize, 00023 s32 id, c8* name); 00024 00026 virtual ~IPlayer(); 00027 00028 virtual void OnRegisterLevelNode(); 00029 00030 virtual E_LEVEL_NODE_TYPE getType() const; 00031 00033 virtual void useMouseCursor(bool used); 00034 00036 virtual bool isMouseCursorUsed() const; 00037 00039 virtual bool isInputReceiverEnabled(); 00040 00042 virtual void setInputReceiverEnabled(bool enabled); 00043 00045 virtual bool isKeyInputEnabled(); 00046 00048 virtual void setKeyInputEnabled(bool enabled); 00049 00051 virtual bool isMouseInputEnabled(); 00052 00054 virtual void setMouseInputEnabled(bool enabled); 00055 00056 protected: 00057 ICameraSceneNode* m_pCamera; 00058 }; 00059 00060 } // namespace game 00061 } // namespace nge 00062 00063 #endif // __I_PLAYER_H__
The NUSoftware Game Engine Documentation © 2007-2008 by Tomer Nosrati. Generated
on Sat Apr 26 16:52:34 2008 by Doxygen
(1.5.5) |