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

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