- Added "Evil twin" Mode to unlock
This commit is contained in:
wagic.the.homebrew@gmail.com
2009-07-05 10:08:13 +00:00
parent d8ac4a49b1
commit 11af671496
12 changed files with 81 additions and 118 deletions
+3 -2
View File
@@ -4,8 +4,9 @@
#include "../include/DeckStats.h"
Player::Player(MTGPlayerCards * _deck, string file): Damageable(20){
Player::Player(MTGPlayerCards * _deck, string file, string fileSmall): Damageable(20){
deckFile = file;
deckFileSmall = fileSmall;
game = _deck;
game->setOwner(this);
manaPool = NEW ManaCost();
@@ -55,7 +56,7 @@ Player * Player::opponent(){
return NULL;
}
HumanPlayer::HumanPlayer(MTGPlayerCards * _deck, char * file):Player(_deck, file){
HumanPlayer::HumanPlayer(MTGPlayerCards * _deck, char * file, string fileSmall):Player(_deck, file, fileSmall){
mAvatarTex = JRenderer::GetInstance()->LoadTexture("player/avatar.jpg", TEX_TYPE_USE_VRAM);
if (mAvatarTex)
mAvatar = NEW JQuad(mAvatarTex, 0, 0, 35, 50);