3 * Iter Vehemens ad Necem (IVAN)
4 * Copyright (C) Timo Kiviluoto
5 * Released under the GNU General
8 * See LICENSING which should be included
9 * along with this file for more details
27 class smoke
: public entity
30 /* Come To The Dark Side */
34 smoke(gas
*, lsquare
*);
37 virtual void Draw(blitdata
&) const;
38 virtual square
* GetSquareUnderEntity(int = 0) const;
39 void SetLSquareUnder(lsquare
* What
) { LSquareUnder
= What
; }
40 lsquare
* GetLSquareUnder() const { return LSquareUnder
; }
41 void Save(outputfile
&) const;
42 void Load(inputfile
&);
43 virtual truth
IsOnGround() const { return true; }
44 void AddBreatheMessage() const;
46 cmaterial
* GetGas() const { return Gas
; }
47 truth
IsDangerousToBreathe(ccharacter
*) const;
48 truth
IsScaryToBreathe(ccharacter
*) const;
51 std::vector
<bitmap
*> Picture
;
52 lsquare
* LSquareUnder
;
56 outputfile
& operator<<(outputfile
&, const smoke
*);
57 inputfile
& operator>>(inputfile
&, smoke
*&);