~ubuntu-branches/ubuntu/trusty/manaplus/trusty

« back to all changes in this revision

Viewing changes to src/particle/particlecontainer.h

  • Committer: Package Import Robot
  • Author(s): Patrick Matthäi
  • Date: 2013-10-07 10:26:14 UTC
  • mfrom: (1.1.11)
  • Revision ID: package-import@ubuntu.com-20131007102614-tg2zjdz8vmtl6n7i
Tags: 1.3.9.29-1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
83
83
 
84
84
    A_DELETE_COPY(ParticleList)
85
85
 
86
 
    virtual ~ParticleList();
 
86
    ~ParticleList();
87
87
 
88
88
    /**
89
89
     * Takes control of and adds a particle
95
95
     */
96
96
    void removeLocally(const Particle *const particle);
97
97
 
98
 
    virtual void clearLocally() override;
 
98
    void clearLocally() override;
99
99
 
100
 
    virtual void moveTo(const float x, const float y) override;
 
100
    void moveTo(const float x, const float y) override;
101
101
 
102
102
protected:
103
103
    std::list<Particle *> mElements;    /**< Contained particle effects */
114
114
 
115
115
    A_DELETE_COPY(ParticleVector)
116
116
 
117
 
    virtual ~ParticleVector();
 
117
    ~ParticleVector();
118
118
 
119
119
    /**
120
120
     * Sets a particle at a specified index.  Kills the previous particle
121
121
     * there, if needed.
122
122
     */
123
 
    virtual void setLocally(const int index, Particle *const particle);
 
123
    void setLocally(const int index, Particle *const particle);
124
124
 
125
125
    /**
126
126
     * Removes a particle at a specified index
127
127
     */
128
 
    virtual void delLocally(const int index);
129
 
 
130
 
    virtual void clearLocally() override;
131
 
 
132
 
    virtual void moveTo(const float x, const float y) override;
 
128
    void delLocally(const int index);
 
129
 
 
130
    void clearLocally() override;
 
131
 
 
132
    void moveTo(const float x, const float y) override;
133
133
 
134
134
protected:
135
135
    std::vector<Particle *> mIndexedElements;