diff options
Diffstat (limited to 'Penguloon/Objects/CannonObject.cs')
| -rw-r--r-- | Penguloon/Objects/CannonObject.cs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Penguloon/Objects/CannonObject.cs b/Penguloon/Objects/CannonObject.cs index f3cf7ff..916e617 100644 --- a/Penguloon/Objects/CannonObject.cs +++ b/Penguloon/Objects/CannonObject.cs @@ -16,6 +16,15 @@ namespace Penguloon.Objects this.AttackSpeedMS = 2500; } + public CannonObject(Map map) : base(map) + { + this.Texture = ContentManager.GetTexture("Objects/cannon"); + this.TileSpanX = 1; + this.TileSpanY = 1; + this.Range = Map.TileWidth * 3f; + this.AttackSpeedMS = 2500; + } + public override void DrawUnique(float deltaTime) { |
