Skip to content

Instantly share code, notes, and snippets.

@bryanmikaelian
Created November 17, 2011 15:48
Show Gist options
  • Save bryanmikaelian/1373478 to your computer and use it in GitHub Desktop.
Save bryanmikaelian/1373478 to your computer and use it in GitHub Desktop.
Pyro - Helping a friend out
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Example {
public class Pyro {
// Some property
bool isAwesome;
// Default Constructor
public Pyro() {
this.isAwesome = true;
}
public Pyro(bool isAwesome) {
this.isAwesome = isAwesome;
}
public Pyro(bool isAwesome, string name) {
this.isAwesome = isAwesome;
Console.WriteLine("Hello " + name);
}
// Methods
public void shootFire() {
Console.WriteLine("Mrmpmpmpmpmmpmhhhh");
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment