home *** CD-ROM | disk | FTP | other *** search
/ Game.EXE 2002 May / Game.EXE_05_2002.iso / Alawar / src / CellPass.cpp < prev    next >
Encoding:
C/C++ Source or Header  |  2002-04-01  |  305 b   |  15 lines

  1. #include "CellPass.h"
  2. #include <String.hpp>
  3.  
  4. CellPass::CellPass(Scene2D * scene, int x, int y )
  5. :    anim( scene, 1, "data/pass" )
  6. {
  7.     anim.move( anim.get_width(0,0) * x, anim.get_height(0,0) * y );
  8.     anim.start( 0, true );
  9. }
  10.  
  11. bool CellPass::can_pass(const Creature * cre)const
  12. {
  13.     return true;
  14. }
  15.