From c795bdfe9659479633cc61d5a5bca5d8185be2a7 Mon Sep 17 00:00:00 2001 From: "jean.chalard" Date: Mon, 15 Jun 2009 00:55:15 +0000 Subject: [PATCH] J : * Match the .cpp file :o --- projects/mtg/include/CardEffect.h | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/projects/mtg/include/CardEffect.h b/projects/mtg/include/CardEffect.h index b3f737289..d84429e6e 100644 --- a/projects/mtg/include/CardEffect.h +++ b/projects/mtg/include/CardEffect.h @@ -4,22 +4,18 @@ #include #include "Effects.h" +class CardGui; + class CardEffect : public Effect { public: - CardEffect(); + CardEffect(CardGui* target); ~CardEffect(); private: - static PIXEL_TYPE surface[MTG_IMAGE_WIDTH*MTG_IMAGE_HEIGHT]; - unsigned char sineTable1[256]; - unsigned char sineTable2[256]; - PIXEL_TYPE palette[256]; - JTexture * backTexture; - JTexture * backThumbTexture; + CardGui* target; public: - void UpdateSmall(float dt); - void UpdateBig(float dt); + virtual void Render(); };