소스 검색

added BufferFormat.pop

Nicolas Cannasse 2 년 전
부모
커밋
2464bf8ff0
1개의 변경된 파일6개의 추가작업 그리고 0개의 파일을 삭제
  1. 6 0
      hxd/BufferFormat.hx

+ 6 - 0
hxd/BufferFormat.hx

@@ -73,6 +73,12 @@ class BufferFormat {
 		return make(inputs);
 	}
 
+	public function pop() {
+		var inputs = inputs.copy();
+		inputs.pop();
+		return make(inputs);
+	}
+
 	public inline function getInputs() {
 		return inputs.iterator();
 	}