Beispiel #1
0
		public Base(Collection collection, String name, DataMap datamap, Drawing.SpriteManager sprites, Animations.AnimationManager animations, Audio.SoundManager sounds)
		{
			if (collection == null) throw new ArgumentNullException("collection");
			if (name == null) throw new ArgumentNullException("name");
			if (datamap == null) throw new ArgumentNullException("datamap");
			if (sprites == null) throw new ArgumentNullException("sprites");
			if (animations == null) throw new ArgumentNullException("animations");
			if (sounds == null) throw new ArgumentNullException("sounds");

			m_collection = collection;
			m_name = name;
			m_data = datamap;
			m_spritemanager = sprites;
			m_animationmanager = animations.Clone();
			m_soundmanager = sounds;
		}
Beispiel #2
0
		public Text(Collection collection, String name, DataMap datamap, Drawing.SpriteManager sprites, Animations.AnimationManager animations, Audio.SoundManager sounds)
			: base(collection, name, datamap, sprites, animations, sounds)
		{
		}