public ScaredyCat(Actor self, ScaredyCatInfo info) { this.self = self; this.info = info; mobile = self.Trait <Mobile>(); if (info.AvoidTerrainTypes.Count > 0) { avoidTerrainFilter = c => info.AvoidTerrainTypes.Contains(self.World.Map.GetTerrainInfo(c).Type); } }
public ScaredyCat(Actor self, ScaredyCatInfo info) { this.self = self; this.info = info; mobile = self.Trait<Mobile>(); }