~ubuntu-branches/ubuntu/trusty/enigma/trusty-proposed

« back to all changes in this revision

Viewing changes to src/items/StripItem.hh

  • Committer: Package Import Robot
  • Author(s): Erich Schubert
  • Date: 2013-04-06 14:54:02 UTC
  • mfrom: (1.1.10)
  • Revision ID: package-import@ubuntu.com-20130406145402-jgjrtk7hac8gtvza
Tags: 1.20-dfsg.1-1
* New upstream release (Closes: #704595)
  (Repacked: dropped zipios++ source and main menu music)
* Update watch file, sf.net again.
* Fix documentation links (Closes: #653508)
* Conflict with enigma-level-previews to encourage deinstallation
  (Pregenerated level previews were only used with version 1.01)
* Use dh7 for building instead of CDBS
* Update to policy 3.9.4.0 (no changes)
* Register documentation with doc-base

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
    class StripItem : public Item {
28
28
        CLONEOBJ(StripItem);
29
29
        DECL_ITEMTRAITS_ARRAY(16, traitsIdx());
30
 
        
 
30
 
31
31
    public:
32
32
        static void setup();
33
 
                
 
33
 
34
34
        StripItem(std::string connections);
35
 
        
 
35
 
36
36
        // Object interface
37
37
        virtual std::string getClass() const;
38
38
 
39
39
        // StateObject interface
40
40
        virtual void setState(int extState);
41
 
        
 
41
 
42
42
        // GridObject interface
43
43
        virtual std::string getModelName() const;
44
44
        virtual void init_model();
45
 
                
 
45
 
46
46
        // Items interface
47
 
        virtual bool covers_floor(ecl::V2 pos, Actor *a) const;
48
 
        virtual double getFriction(ecl::V2 pos, double defaultFriction, Actor *a);
 
47
        virtual bool covers_floor(ecl::V2 position, Actor *a) const;
 
48
        virtual double getFriction(ecl::V2 position, double defaultFriction, Actor *a);
49
49
        virtual ecl::V2 calcMouseforce(Actor *a, ecl::V2 mouseForce, ecl::V2 floorForce);
50
 
        
 
50
 
51
51
    private:
52
52
        int traitsIdx() const;
53
53
    };
54
 
    
 
54
 
55
55
} // namespace enigma
56
56
 
57
57
#endif