public void LoadSummon(CChar c, CTile t) { var builder = new CharViewBuilder(); c.SetView(builder.Build(c.Proxy)); this.RenderChar(c, t); }
private void InitViews(CMap map, MapInitInfo info) { var builder = new CharViewBuilder(); foreach (var party in map.GetLParties()) { foreach (var c in party.GetChars()) { c.SetView(builder.Build(c.Proxy)); var tile = map.GetMap().GetTileForRow(c.Proxy.LParty, c.Proxy.StartCol); this.RenderChar(c, tile); } } foreach (var party in map.GetRParties()) { foreach (var c in party.GetChars()) { c.SetView(builder.Build(c.Proxy)); var tile = map.GetMap().GetTileForRow(c.Proxy.LParty, c.Proxy.StartCol); this.RenderChar(c, tile); } } }