| 1 |
/*************************************************************************** |
| 2 |
pointer.cpp - description |
| 3 |
------------------- |
| 4 |
begin : Thu Sep 14 2000 |
| 5 |
copyright : (C) 2000 by Waldemar Baraldi |
| 6 |
email : [email protected] |
| 7 |
***************************************************************************/ |
| 8 |
|
| 9 |
/*************************************************************************** |
| 10 |
* * |
| 11 |
* This program is free software; you can redistribute it and/or modify * |
| 12 |
* it under the terms of the GNU General Public License as published by * |
| 13 |
* the Free Software Foundation; either version 2 of the License, or * |
| 14 |
* (at your option) any later version. * |
| 15 |
* * |
| 16 |
***************************************************************************/ |
| 17 |
|
| 18 |
#include "pointer.h"cxx . . $ `<file>/src/pointer.h`/ |
| 19 |
|
| •20 |
Pointercxx . . $ Pointer#::Pointercxx . . $ Pointer#Pointer(3e454b8ccf442868).(int row, int column){ |
| 21 |
this->rowcxx . . $ Pointer#row.=row; |
| 22 |
this->columncxx . . $ Pointer#column.=column; |
| 23 |
this->moved_flagcxx . . $ Pointer#moved_flag.=true; |
| 24 |
} |
| 25 |
|
| 26 |
Pointercxx . . $ Pointer#::~cxx . . $ Pointer#`~Pointer`(ced63f7c635d850d).Pointercxx . . $ Pointer#(){ delete image_namecxx . . $ Pointer#image_name.;} |
| 27 |
|
| 28 |
int Pointercxx . . $ Pointer#::getRowcxx . . $ Pointer#getRow(b126dc7c1de90089).(){ |
| 29 |
return rowcxx . . $ Pointer#row.; |
| 30 |
} |
| 31 |
|
| 32 |
int Pointercxx . . $ Pointer#::getColumncxx . . $ Pointer#getColumn(b126dc7c1de90089).(){ |
| 33 |
return columncxx . . $ Pointer#column.; |
| 34 |
} |
| 35 |
|
| 36 |
void Pointercxx . . $ Pointer#::paintcxx . . $ Pointer#paint(dec28a01b93bce57).(VideoManagercxx . . $ VideoManager# * vm){ |
| 37 |
imacxx . . $ Pointer#ima.=((ImageManagercxx . . $ ImageManager# *)(vm->getImageManagercxx . . $ VideoManager#getImageManager(d5fe12bbc8163445).()))->getImagecxx . . $ ImageManager#getImage(3ac71a4852078d03).(new Strcxx . . $ Str#(image_namecxx . . $ Pointer#image_name.)); |
| 38 |
vm->blitcxx . . $ VideoManager#blit(d6e51777aa68e081).(imacxx . . $ Pointer#ima., xcxx . . $ Canvas#x., ycxx . . $ Canvas#y.); |
| 39 |
} |
| 40 |
|
| 41 |
|