File tree 3 files changed +3
-3
lines changed
3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ class LIBSCRATCHCPP_EXPORT Sprite : public Target
50
50
double size () const ;
51
51
void setSize (double newSize);
52
52
53
- void setCostumeIndex (int newCostumeIndex);
53
+ void setCostumeIndex (int newCostumeIndex) override ;
54
54
55
55
double direction () const ;
56
56
void setDirection (double newDirection);
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ class LIBSCRATCHCPP_EXPORT Stage : public Target
30
30
31
31
bool isStage () const override ;
32
32
33
- void setCostumeIndex (int newCostumeIndex);
33
+ void setCostumeIndex (int newCostumeIndex) override ;
34
34
35
35
int tempo () const ;
36
36
void setTempo (int newTempo);
Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ class LIBSCRATCHCPP_EXPORT Target
57
57
int findComment (const std::string &id) const ;
58
58
59
59
int costumeIndex () const ;
60
- void setCostumeIndex (int newCostumeIndex);
60
+ virtual void setCostumeIndex (int newCostumeIndex);
61
61
62
62
std::shared_ptr<Costume> currentCostume () const ;
63
63
You can’t perform that action at this time.
0 commit comments