Parcourir la source

added null filter

ncannasse il y a 6 ans
Parent
commit
3bcae0263a
1 fichiers modifiés avec 13 ajouts et 0 suppressions
  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;
+	}
+
+}