A Logic is a class so, user can add special methods that will be used by compound objects.
Variables can also be declared here.
From a compound object code, using the activate() method (see picture below) would be done this way: L:activate() // L for Logic, only one :
Any public variable is accessible from the Logic objects (ie: L:mode)
Private data/method shall be reserved for Logic storage/process only.
User parameters //&& can be defined in a Logic and will generate an interface in the corresponding behavior symbol or the entity. This can be very useful when defining a general purpose Logic that will rely on parameters that will change from one entity to one another.
For example, a Logic Escape will be using some parameters like speed, way, duration, etc. and each entity using this Escape Logic will locally overwrite default values of these parameters.