public SmallEducatorLeaf(int id, string name, float minute, float second, SmallEducator program, ILeafBehaviour behaviour) :
     base(id, name, (minute * 60) + second)
 {
     this.behaviour = behaviour;
     this.program   = program;
     started        = false;
 }
Ejemplo n.º 2
0
 public ImageBehaviour(SmallEducator smallEducator, string url, GameObject quad,
                       Vector2 position, Texture2D tex, float timer)
 {
     this.smallEducator = smallEducator;
     this.url           = url;
     this.quad          = quad;
     this.position      = position;
     this.Tex           = tex;
     this.timer         = timer;
 }
 public ImageFromResourcesBehaviour(SmallEducator smallEducator, string path, GameObject quad, Vector2 position, Texture2D tex, float timer) : base(smallEducator, path, quad, position, tex, timer)
 {
 }