Files
D8H 75bfa5cb45 Unify variable instructions and handle local variables (#6459)
- Global or scene variables can be used with a unique action and condition.
- Object variables can be used with a unique action and condition.
- Variables need to be declared following the same logic as the new expression syntax.
- Local variable can be declared on events
- Extensions have their own variables
- Show a diagnostic report when a preview is launched and there are missing scene variables, object variables or behaviors.
  - This is especially useful if external events are shared between several scenes.
2024-05-20 23:14:07 +02:00

16 lines
549 B
JavaScript

// Automatically generated by GDevelop.js/scripts/generate-types.js
declare class gdCommentEvent extends gdBaseEvent {
constructor(): void;
getComment(): string;
setComment(type: string): void;
setBackgroundColor(r: number, g: number, b: number): void;
getBackgroundColorRed(): number;
getBackgroundColorGreen(): number;
getBackgroundColorBlue(): number;
setTextColor(r: number, g: number, b: number): void;
getTextColorRed(): number;
getTextColorGreen(): number;
getTextColorBlue(): number;
delete(): void;
ptr: number;
};