using System; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; using Microsoft.Xna.Framework.Input; namespace Game1.Sources { class Task { private Vector2 Position; private int Objective; private float timer; public void setTimer(float newTimer) { timer = newTimer; } public void updateTimer() { timer = timer - 1 / 60; } } }