Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion include/scratchcpp/sprite.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ class LIBSCRATCHCPP_EXPORT Sprite : public Target
double size() const;
void setSize(double newSize);

void setCostumeIndex(int newCostumeIndex);
void setCostumeIndex(int newCostumeIndex) override;

double direction() const;
void setDirection(double newDirection);
Expand Down
2 changes: 1 addition & 1 deletion include/scratchcpp/stage.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class LIBSCRATCHCPP_EXPORT Stage : public Target

bool isStage() const override;

void setCostumeIndex(int newCostumeIndex);
void setCostumeIndex(int newCostumeIndex) override;

int tempo() const;
void setTempo(int newTempo);
Expand Down
2 changes: 1 addition & 1 deletion include/scratchcpp/target.h
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ class LIBSCRATCHCPP_EXPORT Target
int findComment(const std::string &id) const;

int costumeIndex() const;
void setCostumeIndex(int newCostumeIndex);
virtual void setCostumeIndex(int newCostumeIndex);

std::shared_ptr<Costume> currentCostume() const;

Expand Down