C# Class Choreoh.DanceRoutine

Show file Open project: bhaviksingh/CS160-Choreoh Class Usage Examples

Public Properties

Property Type Description
comments String>.Dictionary
guid System.Guid
name String
saveDestinationFolder String
segments DanceSegment>.Dictionary

Public Methods

Method Description
DanceRoutine ( String filename ) : System
addComment ( Choreoh.DanceSegment segment, String comment ) : String
addDanceSegment ( int startFrame ) : Choreoh.DanceSegment
deleteDanceSegment ( Choreoh.DanceSegment segment ) : void
deleteDanceSegmentAt ( int frame ) : void
getSaveDestinationFolder ( String songFilename ) : string
getSaveDestinationName ( String songFilename ) : String
load ( String saveFilename ) : DanceRoutine
save ( ) : System.Boolean
saveAlreadyExists ( String songFilename ) : System.Boolean

Method Details

DanceRoutine() public method

public DanceRoutine ( String filename ) : System
filename String
return System

addComment() public method

public addComment ( Choreoh.DanceSegment segment, String comment ) : String
segment Choreoh.DanceSegment
comment String
return String

addDanceSegment() public method

public addDanceSegment ( int startFrame ) : Choreoh.DanceSegment
startFrame int
return Choreoh.DanceSegment

deleteDanceSegment() public method

public deleteDanceSegment ( Choreoh.DanceSegment segment ) : void
segment Choreoh.DanceSegment
return void

deleteDanceSegmentAt() public method

public deleteDanceSegmentAt ( int frame ) : void
frame int
return void

getSaveDestinationFolder() public static method

public static getSaveDestinationFolder ( String songFilename ) : string
songFilename String
return string

getSaveDestinationName() public static method

public static getSaveDestinationName ( String songFilename ) : String
songFilename String
return String

load() public static method

public static load ( String saveFilename ) : DanceRoutine
saveFilename String
return DanceRoutine

save() public method

public save ( ) : System.Boolean
return System.Boolean

saveAlreadyExists() public static method

public static saveAlreadyExists ( String songFilename ) : System.Boolean
songFilename String
return System.Boolean

Property Details

comments public property

public Dictionary comments
return String>.Dictionary

guid public property

public Guid,System guid
return System.Guid

name public property

public String name
return String

saveDestinationFolder public property

public String saveDestinationFolder
return String

segments public property

public Dictionary segments
return DanceSegment>.Dictionary