浏览代码

added null filter

ncannasse 6 年之前
父节点
当前提交
3bcae0263a
共有 1 个文件被更改,包括 13 次插入0 次删除
  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;
+	}
+
+}