PotatoPlan/Tractor_VS/Game1/Sources/Task.cs

24 lines
461 B
C#
Raw Normal View History

2020-04-07 17:50:31 +02:00
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;
}
}
}