The open source repository for the action RPG game in development by Sig Productions titled 'Adventures in Lestoria'! https://forums.lestoria.net
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
AdventuresInLestoria/Adventures in Lestoria/switch-class.snippet

36 lines
816 B

<?xml version="1.0" encoding="utf-8"?>
<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
<CodeSnippet Format="1.0.0">
<Header>
<Title>Class Switch</Title>
<Author>Sig</Author>
<Description>A switch statement of all classes.</Description>
<Shortcut>switchcl</Shortcut>
</Header>
<Snippet>
<Code Language="CPP">
<![CDATA[switch ($clVar$){
case WARRIOR:{
}break;
case THIEF:{
}break;
case RANGER:{
}break;
case BARD:{
}break;
case WIZARD:{
}break;
case WITCH:{
}break;
}]]>
</Code>
<Declarations>
<Literal>
<ID>clVar</ID>
<ToolTip>Name of the class variable.</ToolTip>
<Default>cl</Default>
</Literal>
</Declarations>
</Snippet>
</CodeSnippet>
</CodeSnippets>