aboutsummaryrefslogtreecommitdiffstats
path: root/src/VideoList.hx
diff options
context:
space:
mode:
Diffstat (limited to 'src/VideoList.hx')
-rw-r--r--src/VideoList.hx4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/VideoList.hx b/src/VideoList.hx
index c5e92c8..eb3e67d 100644
--- a/src/VideoList.hx
+++ b/src/VideoList.hx
@@ -44,6 +44,10 @@ class VideoList {
pos = i;
}
+ public function hasItem(i:Int):Bool {
+ return items[i] != null;
+ }
+
public function exists(f:(item:VideoItem) -> Bool):Bool {
return items.exists(f);
}
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage