Skip to content

Wording "using a function" #29

@Kaligule

Description

@Kaligule

function documentation

In FSM2D (and possibly other places too) we can read:

# update(inDeltaTime): update FSM to update current state. Should be
# used in every game tick, but should use it only if you are using
# updateMode="Manual".

The last sentence is not clear to me. After thinking about it I guess it should be:

Should be called in every game tick, but only if you are using updateMode="Manual".

section

The whole section suffers a bit from the expression "use a function". This could be understood in two ways:

  • adapt the function (for example, to use the function _physics_process in Godot nodes you just have to write something into it - no need to call it manually)
  • call the function

I think the later meaning is the intended one here. Perhaps we should replace the "use" with "call" in most of thissection

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions