outline attempts

This commit is contained in:
riedel 2023-05-10 16:04:30 +02:00
parent 5601020eb6
commit 240b0b0af4
6 changed files with 42 additions and 1 deletions

View file

@ -0,0 +1,30 @@
using CityGame.Classes.Rendering;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WPFGame;
namespace CityGame.Classes.Entities
{
public class GasPipe : Entity
{
public int Exploded { get; set; }
public GasPipe()
{
if (MainWindow.random.Next(0, 2) == 0) Rotation += 180;
SingleSelect = true;
}
public override OCanvas Render()
{
return new SourcedImage("ManholeCover.png");
}
public override void Tick(long deltaTime)
{
}
}
}