Ignore:
Timestamp:
2011-06-29 14:46:44 (8 years ago)
Author:
teeevasa
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • 2011/26/JaakkoL/Rogue Agent 2372/Rogue Agent 2372/Rogue Agent 2372/Weapons.cs

    r2290 r2300  
    55using Jypeli.Effects; 
    66using Jypeli.Widgets; 
     7 
     8public class Pistol : Weapon 
     9{ 
     10    public Pistol(double width, double height) 
     11        : base(width, height) 
     12    { 
     13        Image = Game.LoadImage("Images/gausspistol"); 
     14        AttackSound = Game.LoadSoundEffect("Sounds/pistolshot"); 
     15        AmmoIgnoresGravity = true; 
     16    } 
     17 
     18    protected override PhysicsObject CreateProjectile() 
     19    { 
     20        return new Projectile(1, 1, Color.Aqua); 
     21    } 
     22} 
Note: See TracChangeset for help on using the changeset viewer.