Skip to content

Add support for static class methods #41

Description

@adapap

In the following example, Success can be a static method allowing usage as Sound.Success():

class Sound:
    %PlaySound(type)
        Play Effect
            Visible_To: Event Player
            Type: type
            Color: White
            Position: Event Player
            Radius: 50
    %Success()
        this.PlaySound(Buff Explosion Sound)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureNew language/syntax feature to be implemented

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions