PageRenderTime 20ms CodeModel.GetById 13ms app.highlight 3ms RepoModel.GetById 1ms app.codeStats 0ms

/src/org/osflash/signals/natives/base/SignalSprite.as

http://github.com/robertpenner/as3-signals
ActionScript | 15 lines | 13 code | 2 blank | 0 comment | 0 complexity | 4db059cb303be94ddaed7144c6e19880 MD5 | raw file
 1package org.osflash.signals.natives.base
 2{
 3	import org.osflash.signals.natives.sets.InteractiveObjectSignalSet;
 4	import flash.display.Sprite;
 5
 6	public class SignalSprite extends Sprite
 7	{
 8		private var _signals:InteractiveObjectSignalSet;
 9
10		public function get signals():InteractiveObjectSignalSet
11		{
12			return _signals ||= new InteractiveObjectSignalSet(this);
13		}
14	}
15}