Explorar o código

added null filter

ncannasse %!s(int64=6) %!d(string=hai) anos
pai
achega
3bcae0263a
Modificáronse 1 ficheiros con 13 adicións e 0 borrados
  1. 13 0
      h2d/filter/Nothing.hx

+ 13 - 0
h2d/filter/Nothing.hx

@@ -0,0 +1,13 @@
+package h2d.filter;
+
+class Nothing extends Filter {
+
+	public function new() {
+		super();
+	}
+
+	override function draw( ctx : RenderContext, t : h2d.Tile ) {
+		return t;
+	}
+
+}