public AbstractAction(Jibby owner) { StateOwner = owner; Timer = new Timer(); Timer.Elapsed += new ElapsedEventHandler(OnTimerFinished); // Timer zal maar 1 keer een event moeten triggeren en daarna stoppen. Handmatig stoppen is dus niet nodig Timer.AutoReset = false; }
public Washing(Jibby owner) : base(owner) { }
public ButtonWash(Vector2 position, Jibby jibby) : base(position, jibby) { mouseUpButton = AssetsManager.ButtonWashingUp; mouseDownButton = AssetsManager.ButtonWashingDown; }
public Idle(Jibby owner) : base(owner) { Execute(); }
public Eating(Jibby owner) : base(owner) { }
public Button(Vector2 position, Jibby jibby) : base(position) { Jibby = jibby; }