Ejemplo n.º 1
0
 public Lantern(Actor Owner)
 {
     owner = Owner;
     light = new ActorLightSource(Owner, 700f);
     properties.Add("Fire");
     properties.Add("Light");
     name = "Lantern";
     II   = new InventoryItem(this);
 }
Ejemplo n.º 2
0
 public Tree(Vector2 starting, Stage Parent, GameManager gameManager) : base(gameManager)
 {
     name        = "Tree";
     Location    = new Vector3(starting, 0);
     asset_Name  = "tree3";
     parent      = Parent;
     onFire      = new ActorLightSource(this, 700f);
     ImageHeight = 194;
     ImageWidth  = 162;
     radius      = 40;
     height      = 300f;
 }
Ejemplo n.º 3
0
 public Firefly(Vector2 starting, Stage Parent, GameManager gameManager) : base(gameManager)
 {
     name       = "fire";
     Location   = new Vector3(starting, 0);
     asset_Name = "Characters/ElysiaSheet";
     parent     = Parent;
     lit        = new ActorLightSource(this, 300f);
     lit.ChangeColor(Color.Green);
     ImageHeight = 80;
     ImageWidth  = 80;
     radius      = 1;
     height      = 1;
     learnAction(new Walk());
     speed = 300;
 }