Davide Tantillo 93c56d08d0 c3 backup
2025-11-03 15:16:29 +01:00

16 lines
600 B
TypeScript

/** Represents a behavior in a project (the behavior equivalent of a plugin).
* @see {@link https://www.construct.net/make-games/manuals/construct-3/scripting/scripting-reference/object-interfaces/ibehavior | IBehavior documentation } */
declare class IBehavior_
{
readonly runtime: IRuntime;
readonly id: string;
/** Get all instances that use this behavior. The instances could be a mix of
* different object types and plugin types. */
getAllInstances(): IInstance[];
static getByConstructor(ctor: Function): IBehavior_ | null;
}
declare var IBehavior: typeof IBehavior_;