NLS Engine  v0.1
The Next Logical Step in game engine design.
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Defines
LightAmbientRenderable.h
Go to the documentation of this file.
00001 
00007 #pragma once
00008 
00009 #include <d3d9.h>
00010 #include "../RenderableComponent.h"
00011 
00012 namespace GraphicsCore {
00013   class LightAmbientRenderable: public RenderableComponent {
00014   public:
00015     LightAmbientRenderable(EntitySPTR, ModuleInterface*);
00016     virtual ~LightAmbientRenderable();
00017 
00021     D3DXCOLOR GetAmbientColor();
00022 
00026     bool SetAmbientColor(D3DXCOLOR);
00027 
00028     void Render(LPDIRECT3DDEVICE9);
00029 
00030     void SetEnableStatus(bool);
00031 
00032     bool GetEnableStatus(void);
00033 
00034   private:
00035 
00036     D3DXCOLOR ambientColor;
00037 
00038     bool isEnabled;
00039   };
00040 }