GDevelop Core
Core library for developing platforms and tools compatible with GDevelop.
InstructionOrExpressionGroupMetadata.h
1 /*
2  * GDevelop Core
3  * Copyright 2008-2022 Florian Rival ([email protected]). All rights
4  * reserved. This project is released under the MIT License.
5  */
6 #pragma once
7 #include "GDCore/String.h"
8 
9 namespace gd {
15  public:
17 
22  icon = icon_;
23  return *this;
24  };
25 
26  const gd::String& GetIcon() const { return icon; };
27 
28  private:
29  gd::String icon;
30 };
31 } // namespace gd
Contains information about how to display a group of instructions to the user.
Definition: InstructionOrExpressionGroupMetadata.h:14
InstructionOrExpressionGroupMetadata & SetIcon(const gd::String &icon_)
Sets the icon shown to users.
Definition: InstructionOrExpressionGroupMetadata.h:21
String represents an UTF8 encoded string.
Definition: String.h:33
Definition: CommonTools.h:24