Esempio n. 1
0
 public void ResourceOrders(RubeUnit rube, Construct construct, Resource resource)
 {
     rube.NewOrder(new MoveOrder(resource.transform.position));
     rube.Mark(resource);
     rube.AddOrder(new TakeResourceOrder(resource));
     rube.AddOrder(new MoveOrder(construct.transform.position));
     rube.AddOrder(new UseResourceOrder(construct));
 }
Esempio n. 2
0
 public void BuildOrders(RubeUnit rube, Construct construct)
 {
     rube.NewOrder(new MoveOrder(construct.transform.position));
     rube.AddOrder(new BuildOrder(construct));
 }