source: OniSplit/Metadata/MetaLink.cs@ 1151

Last change on this file since 1151 was 1114, checked in by iritscen, 5 years ago

Adding OniSplit source code (v0.9.99.0). Many thanks to Neo for all his work over the years.

File size: 401 bytes
Line 
1using System;
2
3namespace Oni.Metadata
4{
5 internal class MetaLink : MetaType
6 {
7 private TemplateTag tag;
8
9 internal MetaLink(TemplateTag tag)
10 {
11 this.tag = tag;
12
13 Name = "Link";
14 Size = 4;
15 }
16
17 public TemplateTag Tag
18 {
19 get
20 {
21 return tag;
22 }
23 }
24
25 public override void Accept(IMetaTypeVisitor visitor)
26 {
27 visitor.VisitLink(this);
28 }
29 }
30}
Note: See TracBrowser for help on using the repository browser.