gameobjectitem.cpp

来自「<B>DirectX9.0 3D游戏编程</B>」· C++ 代码 · 共 56 行

CPP
56
字号
/*******************************************************************
 *         Advanced 3D Game Programming using DirectX 8.0
 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 *   Title: GameObjectItem.cpp
 *    Desc: An item in the game
 *          
 * copyright (c) 2001 by Peter A Walsh and Adrian Perez
 * See license.txt for modification and distribution information
 ******************************************************************/

#include "..\stdafx.h"
#include "GameObjectItem.h"

cGameObjectItem::cGameObjectItem() :
	cGameObject()
{

}

cGameObjectItem::~cGameObjectItem()
{

}

bool cGameObjectItem::IsObject( eObjectType objType )
{
	return ( objType = EOT_ITEM ) ? true : false; 
}

void cGameObjectItem::AddToScene()
{

}


void cGameObjectItem::RemoveFromScene()
{

}


void cGameObjectItem::Tick( float tickLength )
{

}


void cGameObjectItem::Draw()
{

}

void cGameObjectItem::RespondToCollision( cGameObject* pOther )
{
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?