outline attempts
This commit is contained in:
parent
5601020eb6
commit
240b0b0af4
6 changed files with 42 additions and 1 deletions
30
CityGame/Classes/Entities/GasPipe.cs
Normal file
30
CityGame/Classes/Entities/GasPipe.cs
Normal 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)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue