no message

This commit is contained in:
Ben Nordstrom
2001-11-29 11:05:04 +00:00
parent a867e118cc
commit bdc55a8f99
6 changed files with 184 additions and 41 deletions
+44
View File
@@ -0,0 +1,44 @@
// GhostArrow.cpp: implementation of the GhostArrow class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "GhostArrow.h"
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////
GhostArrow::GhostArrow()
{
Arrow::Arrow();
m_sprOutline.SetDiffuseColor( D3DXCOLOR(1,1,1,0) );
m_sprMidSection.SetDiffuseColor( D3DXCOLOR(1,1,1,0) );
m_sprCenter.SetDiffuseColor( D3DXCOLOR(1,1,1,0) );
}
void GhostArrow::Step()
{
m_sprOutline.SetZoom( 1 );
m_sprOutline.SetDiffuseColor( D3DXCOLOR(1,1,0.5f,1) );
m_sprOutline.BeginTweening( 0.3f );
m_sprOutline.SetTweenZoom( 1.5 );
m_sprOutline.SetTweenDiffuseColor( D3DXCOLOR(1,1,0.5f,0) );
m_sprMidSection.SetZoom( 1 );
m_sprMidSection.SetDiffuseColor( D3DXCOLOR(1,1,0.5f,1) );
m_sprMidSection.BeginTweening( 0.3f );
m_sprMidSection.SetTweenZoom( 1.5 );
m_sprMidSection.SetTweenDiffuseColor( D3DXCOLOR(1,1,0.5f,0) );
m_sprCenter.SetZoom( 1 );
m_sprCenter.SetDiffuseColor( D3DXCOLOR(1,1,0.5f,1) );
m_sprCenter.BeginTweening( 0.3f );
m_sprCenter.SetTweenZoom( 1.5 );
m_sprCenter.SetTweenDiffuseColor( D3DXCOLOR(1,1,0.5f,0) );
}