protected virtual PrepItemsUnitUINode unit_node(int actorId) { var node = new PrepItemsUnitUINode(ActorName(actorId)); node.Size = new Vector2(unit_spacing(), this.RowSize); return(node); }
protected void map_sprite_texture( int index, bool deployed) { int id = ActorList[index]; PrepItemsUnitUINode unitNode = UnitNodes[index]; unitNode.set_map_sprite_texture( deployed ? Constants.Team.PLAYER_TEAM : 0, ActorMapSpriteName(id)); }