File: TextureSwitcher.pm

package info (click to toggle)
dizzy 0.3-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 288 kB
  • sloc: perl: 1,864; makefile: 12; xml: 12; sh: 6
file content (14 lines) | stat: -rw-r--r-- 291 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
package Dizzy::TextureSwitcher;

use strict;
use warnings;

sub init {
	my ($tex_switcher, %tex_switcher_opts) = @_;
	require "Dizzy/TextureSwitcher/$tex_switcher.pm";
	my $init = eval '\&Dizzy::TextureSwitcher::'.$tex_switcher.'::init';
	die $@ if ($@);
	$init->(%tex_switcher_opts);
}

1;