public void Init(Behaviour behaviour)
 {
     behaviour.SetProperty("attack-range", new VariableProperty(VariableProperty.Type.Number));
     behaviour.SetProperty("attack-damage", new VariableProperty(VariableProperty.Type.Number));
     behaviour.SetProperty("attack-cooldown", new VariableProperty(VariableProperty.Type.Number));
 }
Exemplo n.º 2
0
 public void Init(Behaviour behaviour)
 {
     behaviour.SetProperty("prop-name", new VariableProperty(VariableProperty.Type.String));
 }
 public void Init(Behaviour behaviour)
 {
     behaviour.SetProperty("move-range", new VariableProperty(VariableProperty.Type.Number));
     behaviour.SetProperty("move-speed", new VariableProperty(VariableProperty.Type.Number));
 }
 public void Init(Behaviour behaviour)
 {
     behaviour.SetProperty("origin", new VariableProperty(VariableProperty.Type.Vector));
     behaviour.SetProperty("max-distance", new VariableProperty(VariableProperty.Type.Number));
     behaviour.SetProperty("move-speed", new VariableProperty(VariableProperty.Type.Number));
 }
Exemplo n.º 5
0
 public void Init(Behaviour behaviour)
 {
     behaviour.SetProperty("check-radius", new VariableProperty(VariableProperty.Type.Number));
 }